download bin > extract > add to usr/bin/
**notice : not directly bin
**dont necesarily download since you can just use
cmd //c tree
but dont get all power of this tool , I dont recommend it
download bin > extract > add to usr/bin/
**notice : not directly bin
**dont necesarily download since you can just use
cmd //c tree
but dont get all power of this tool , I dont recommend it
css rule – selector declaration
psudoclasses Link
pseudoclass anchor element
CASCADE AND SPECIFITY
properties and values
property+value=css declaration
css declaration + css selector = css rule
pseudoclas state
decendant combinator css – space
next sibling combinator – + plus
separate selectors – , coma
pixel px em rem
@rules @import
media query – responsive design
mediaquery – viewport
@rule – at rule
@at import
em relative parent
rem relative root
default font size
shorthand properties – several values single line
html dom
dom node – each piece , element , tag
tag[atribute] html atribute
::first-line – pseudoelement
pseudoelement – part
pseudoclass – state
all children , just direct children
- all
~ not inmeditetly
space parent , regarless the hierarchyid html unique per page
inline>id>class,atribute,pseduoclasess>element,pseduoelements
[attribute]
i insensity in matching
pseudoclasses colon
sibling – parent
sibling same parent
parent – inside
~ sibling
space parent
user action pseudoclasse – dynamic pseudo-classes
first-line pseduo element :
first-child pseudo class ::
review ** cascade
review *** nesting
revier **** everything
descendants – space
direct children – >
property+value=css declaration
css rule – selector declaration
pseudoclases – state
just inmediately – +
siblings after – ~
separate selectors – , coma
pixel px em rem
em relative parent
rem relative root
@rule – at rule
first-line pseduo element :
first-child pseudo class ::
user can custom developers designed
user agent style sheet
user style sheet-author style sheet
important Author Style sheet
important user style sheet
important user agent styleSheets
Las decisiones más difíciles son aquellas
que requieren desandar lo andado, ya que parece como un
reconocimiento de un error que no ha existido realmente,
sino que proviene de una situación puntual que nos obliga
a realizarlo.
HTML OBJECTS
table
DOM > HTML DOM > HTML DOM API > HTMLTableRowElement > cells ( this return a collection that have INDEX)
javascript
typeof
template literals backstick
embeding expression ${}
arrow function = lambda function
IIFE (Immediately Invoked Function Expression)
createElement
javascript interactuar con html mirar DOM
primitives object
textContent innerText
HTML mark up
CSS set rule
JS statement
let const
keyword reserve wordf
= assignement
== equality
code block block
noInitialValue undefined
cancell null
|| &&fgf
== ===
boolean comparision logical
blocking operations prompt alert
bloking operations rendering
original traditional english Christmas carol
https://www.youtube.com/watch?v=uhsLOrfXCgs
Adapted Peru president Christmas carol
https://www.youtube.com/watch?v=Fq2we9NxCpY
English traslation lyrics for an adapted Christmas carol about the President of Peru
«My card says I only have one dose, and the registry says I can’t get vaccinated.
I can’t go buy a small gift for Christmas,
I can’t go to a pharmacy, I can’t go to the bank,
I can’t buy food,
Not even a small gift for Christmas.
If I got sick, I couldn’t go to any hospital,
Because my card says I only have one dose,
And the registry says I can’t get vaccinated.
Vizcarra can’t buy even a small Christmas gift.
Vizcarra can’t buy even a small Christmas gift.
That’s why, and for many other things,
Give Vizcarra one more dose.»**»
Spanish lyrics for an adapted Christmas carol about the President of Peru
«mi carné dice que tengo solo una dosis y el padrón dice que no me puedo vacunar
no puedo ir a comprar un pequeño presente , por navidad
no puedo ir a una farmacia , no puedo ir al banco , no puedo ir a comprar alimentos
incluso un pequeño presente por navidad
si me enfermara no puedo ir a ningún hospital porque mi carné dice que tengo solo una dosis y el padron dice que no me
puedo vacunar
vizcarra no puede comprar ni un pequeño regalo de navidad
vizcarra no puede comprar ni un pequeño regalo de navidad
por eso y muchas cosas denle a vizcarra una dosis más
«
«拉丁美洲,一个没有腿却依然行走的人民»大流行
发达国家
医疗、教育和交通系统
秘鲁成为全球 COVID 死亡率最高的国家
3300 万人口中,COVID-19 导致了 20 万人死亡
为了让人们待在家里,由于疫情,政府决定推迟开学。但是人们认为这就像是额外的假期,于是大多数人去了海滩,海滩上挤满了人
一个原因是由于人们的文化,他们不太听话。
在那个时刻,许多人意识到,当第一个感染病例确认时,病毒很快就会扩散,总之,很短的时间内就会变成一场灾难
那么,如果有一件事我们不会忘记那就是当时的总统
中国现在仍然是男权主义吗?
在我的国家也是,男女之间的平等仍未实现,虽然比以前好多了,证明这一点的是我们现在的总统是女性。
你为什么认为那位总统难以忘记?
事实上,他在疫情期间的管理是个灾难,但并非全是他的错,人民也有一半的责任。我们不知道是不是他的主意,或者是别人的主意,但他采取了一个非常有趣的措施来遏制COVID-19的传播。
主要是因为很多男人认为厨房是女性的事,在秘鲁也是这样,特别是我父亲那一代的人。例如我的叔叔们,尽管我从未问过他们,我相信他们一生中从未做过饭。
如果一个男人做饭或去市场购物,其他男人,比如他的朋友或同事,会对他说一些嘲笑的话吗?
冠状病毒:秘鲁限制按性别出行以遏制传播。男性和女性在不同的日子外出,而在周日,每个人都必须待在家里。
星期一、星期三和星期五只有男性可以出门,且只能去购物。
街头采访非常有趣,当然,女性们都非常赞同并感谢总统,因为尽管这只是一个小小的步骤,但对性别平等非常重要。
因为在许多家庭中,仍然是男人提供经济支持,许多家庭仍然非常贫穷,只能靠日常工作维持生计。很多妻子抱怨钱不够,这确实是事实,有时母亲不得不付出巨大的努力才能确保钱足够买食物养活孩子。有时男人对此不感兴趣,回到家里只是说‘别烦我,我累了’,这是一种悲哀的现实。所以在那个时候,许多女性认为让男人去市场买东西,用她们拿到的相同的钱买食物,是一种公平的行为,‘我希望你用20索尔买四个人的食物,包括早餐、午餐和晚餐’。
显然,女性会仔细查看购物清单,并拒绝任何不合适的购买
有一句母亲常说的话,这意味着你被购物欺骗了,买了一些如此糟糕的东西,以至于它不算是购买,更像是一个礼物。
这张图片的意思是,如果你一个人住,想在星期一和星期三出门购物,你可以穿男装,而在星期三和星期五穿女装。
这是一个网络迷因,因为对于那些不常购物的人来说,很难分辨香菜和芫荽的区别
星期一、星期三和星期五是男人出门购物,星期二、星期四和星期六是女人出去退掉男人买错的东西
你认为这个措施有结果吗?我认为没有,但确实有一些有趣的事情,比如,女性出门的日子,感染人数比男性出门的日子要高。
你为什么这么认为?嗯,显而易见的答案是,当女性去市场购物时,如果碰到朋友或熟人,她们会停下来聊天,而男性则不太会这样做
我记得在一次采访中,当有人问一个水果摊贩她最喜欢哪几天时,她说是星期一、星期三和星期五,也就是男人出门的日子。她说,因为男人不太挑剔,买东西比较快,而女性对什么都不满意,总的来说,欺骗男人反而更容易。
如果你不遵守政府实施的这一措施,他们会把你带到警察局并罚款
same to : (ignore colors assignation)
All the versions of JDK come bundled up with the JRE (Java Runtime Environment). This way, a user doesn’t have to download and install JRE on their PC separately.
https://docs.oracle.com/javase/specs/jvms/se21/html/jvms-4.html
check the major version for your JAVA code (the java class file)
65 is the major version , correspond to JAVA-21
you HAVE TO READ RUNNING.TXT , located in tomcat/
JRE_HOME or JAVA_HOME , required , not both , so simple solution , just delete JRE_HOME , altough some servlet tutorials (almost all) lead you to set up both .
if you find is neccesary set up both of them , this is the proccess , at final i give you some advices if nothing of these works ….
check our environments variables , this is the reason of our problem
we can comprobe just looking in our apachetomcat initialization
to solve you should JAVA_HOME == JRE_HOME , i mean have to be the same both jdk-21
JRE_HOME= xxx.yyyy.zzzz/jdk-21
check the current Java version load by server in in manager/html
admi user admin password is not the default one , have to config in tomcat-users.xml
<user username="admin" password="admin" roles="manager-gui,manager-script,manager-jmx,manager-status,admin-gui,admin-script"/>
now , launch again tomcat server
install apache tomcat as a SERVICE is not the same that execute by startup.bat , just for test purpose you unistall the service one , and download a zip one , then launch it using startup.bat located at bin folder , indeed you can use both , just need to change the ports , but i suggest you foor test purpose unistall one of them
E117: Unknown function: plug#end
Press ENTER or type command to continue
#First have to identify your executed VIM
which vim # in unix , git , show wich vim is currently using in git bash enviroment
where vim #on windows , cmd , show you all vim you have
executes vim on git bash is different from the vim installed on windows , then in git you have to (if dont have) manually your «.vimrc» follow these two steps : #1 cd ~ #2 vim .vimrc
now , you wont get this error again , in the above showed case , there was a problem with «plugin-vim» then you have to follow the installation on the github repository , unix option
:set showmatch
"set nu
"THIS DISABLE SENSITIVE CASE IN SEARCH
set ignorecase
"TO SET UP RELATIVE NUMER AND ABOSIULUTE NUMBE , HYBRID
set relativenumber number
"set number
" nnoremap is used to remapn a combuination key to another
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
"VIM ENTRENATION
" DIsable arrows to force use hjkl keys
noremap <Up> <NOP>
noremap <Down> <NOP>
noremap <Left> <NOP>
noremap <Right> <NOP>
call plug#begin()
Plug 'mattn/emmet-vim'
"Plug 'tmhedberg/SimplyFold'
Plug 'tpope/vim-surround'
"Plug 'artur-shaik/vim-javacomplete2'
call plug#end()
"TO CHANGE FROM RELATIVE NUMBER TO ABSOLUTE NUMBER
nnoremap <F5> :set relativenumber!<CR>
"nnoremap <F6> :set number!<CR>
"edit emme-vim contro-y
let g:user_emmet_leader_key=','
" make indet to fold lines
set foldmethod=indent
" all fold lines (99)will be show when open the file
set foldlevel=99
"Enalble folding with the spacebar
"nnoremap <space> za
let mapleader = ' '
nnoremap <leader><Space> :w<CR>
colorscheme desert
set guifont=@MS_Gothic:h14:b:cANSI:qDRAFT
"CONFIGURATION FOR PYTHON DEVELOPING
"This will give you the standard four spaces when you hit tab, ensure your line length doesn’t go beyond 80 characters, and store the file in a Unix format so you don’t get a bunch of conversion issues when checking into GitHub and/or sharing with other users.
"au BufNewFile,BufRead *.py
" set tabstop=4
" set softtabstop=4
" set shiftwidth=4
" set textwidth=79
" set expandtab
" set autoindent
" set fileformat=unix
"
"
"au BufRead,BufNewFile *.py,*.pyw,*.c,*.h match BadWhitespace /\s\+$/
my current vim config , basically for html develoment
interface MyInterface {
void sayHello();
}
class ClassOne {
static void methodThatCallInterfaceMethod(MyInterface i) {
i.sayHello();
}
}
class ClassTwo implements MyInterface {
static void sayGoodBye() {
System.out.println("hi - for METHOD REFERENCE CALLING");
};
@Override
public void sayHello() {
// TODO Auto-generated method stub
System.out.println("Good Morning FROM CASS THAT DIRECTLY IMPLEMENTS INTERFACE ");
}
MyInterface getMyInterface() {
return this;
}
}
class ClassThree {
static ClassTwo getInstanceOfClassTwo() {
return new ClassTwo();
}
}
public class Main implements MyInterface {
public static void main(String[] args) {
Main InstanceOfMain = new Main();
//METHOD 1
InstanceOfMain.methodThatServeAsABridgeToExecuteinMainStaticMethod();
//METHOD 2
ClassOne.methodThatCallInterfaceMethod(new Main());
//METHOD 3
ClassOne.methodThatCallInterfaceMethod(new MyInterface() {
@Override
public void sayHello() {
// TODO Auto-generated method stub
System.out.println("Good morning from INNER CLASS");
}
});
//METHOD 4
ClassOne.methodThatCallInterfaceMethod(() -> System.out.println("Hi from LAMBDA IMPLEMENTATION"));
//METHOD 5
ClassOne.methodThatCallInterfaceMethod(ClassTwo::sayGoodBye);
ClassTwo InstanceClassTwo = new ClassTwo();
//METHOD 6
ClassOne.methodThatCallInterfaceMethod(InstanceClassTwo);
//METHOD 7
ClassOne.methodThatCallInterfaceMethod(InstanceClassTwo.getMyInterface());
//METHOD 8
ClassOne.methodThatCallInterfaceMethod(ClassThree.getInstanceOfClassTwo());
MyInterface instanceCreatedToStoreAnnonymousInnerClass = new MyInterface() {
@Override
public void sayHello() {
// TODO Auto-generated method stub
System.out.println("hi from ANNONYMOUS INNER CLAS ASIGNED TO VARIABLE");
}
};
ClassOne.methodThatCallInterfaceMethod(instanceCreatedToStoreAnnonymousInnerClass);
ClassOne.methodThatCallInterfaceMethod(()->InstanceOfMain.methodInsideMainClass());
}
void methodInsideMainClass () {
System.out.println("hi from CLASS INSIDE MAIN CLASS");
};
void methodThatServeAsABridgeToExecuteinMainStaticMethod() {
ClassOne.methodThatCallInterfaceMethod(this);
}
@Override
public void sayHello() {
// TODO Auto-generated method stub
System.out.println("hi from Main INSIDE CLASS");
}
}
«Insert into CSE_DEPT.COURSE (COURSE_ID,COURSE,CREDIT,CLASSROOM,SCHEDULE,ENROLLMENT,FACULTY_ID) values (‘CSE-334′,’Elec. Measurement & Design’,3,’TC-212′,’T-H: 11:00-12:25 PM’,25,’H99118′);»
In SQL , » &» is interpreted as the beginning of a substitution variable .
3 possible solutions :
SET ESPACE ‘\’ , and use ‘\’ to scape & in you code exp: \&
SET SCAN OFF , disable scanning for substitution variables
SET DEFINE OFF; turn off substitution completely
node -v ### to verify correct installation
npm -v
right click on shell icon > properties > «start in»
this is the deafualt starting «start in» folder : «%HOMEDRIVE%%HOMEPATH%»
after instal vim , there is a problem to launch vim from command prompt
we have to add a path to our user variables , first have to find folder where is our vim executable …
go to «environment variables»
edit «path» in user variables , ADD the folder where is you vim executable (there many other paths inside )
pkg update
pkg upgrade
pkg install openssh
sshd #by default open 8082 port , can specify desired port following command
sshd -p 2222
ssh user\ [email protected] -p 2222 #slash is use to scape space , phone name > configuration , about phone
pkill sshd