Skip to content

Instantly share code, notes, and snippets.

Eltahir Eltahir theeltahir

View GitHub Profile
View precess-input-1431964929.scss
//@mixin
//defines complex variables
@mixin shadow-original{
box-shadow: 1px 1px 0px #ddd;
text-shadow: 1px 1px 1px #000;
}
@mixin shadow($offset){
box-shadow: $offset $offset 0px #ddd;
text-shadow: $offset $offset $offset #000;
}
View precess-input-1431964332.scss
nav{
border: 1px solid #ddd;
ul{
margin: 0;
li{
list-style: none;
a{
color: red;
}//a
}//li
View precess-input-1431960634.scss
nav{
border: 1px solid #ddd;
ul{
margin: 0;
li{
list-style: none;
a{
color: red;
}//a
}//li
View gist:f2556ce75b00c9bddeee
puts "Hi, I am C-3PO, human-cyborg realtions"
puts "May I have your name?"
user_name = gets.chomp
puts "it is a pleasure to meet you,#{user_name}. Have you ever met a protocol droid before?"
user_answer = gets.chomp
puts "#{user_answer}? How interesting, for someone from around these parts."
View gist:f06f080f91ee1d5c9edf
cd TOP_SECRET/SERIOUSLY_TOP_SECRET/YOU_PROBABLY_SHOULDNT_BE_IN_HERE/
mv totallyNotNuclearCodes.txt ../../../FLASH_DRIVE/
echo "8675309" > totallyNotNuclearCodes.txt
cd ../../../
cp -r CAT_PHOTOS/ FLASH_DRIVE/
rm -r NO_NUCLEAR_LAUNCH_SEQUENCES_HERE/
mkdir DR_NEFARIOUS_NEW_LAUNCH_SEQUENCE/
cd DR_NEFARIOUS_NEW_LAUNCH_SEQUENCE/
echo "say -v Alex 'Doctor Nefarious: Ha ha. Sincerely, Mot Esiurc'" > superDuperLaunchSequence.sh
View gist:eb4165e9d305755aba1b
MakeGAWorkingDirectory(){
cd ~
mkdir -p GeneralAssembly/Projects/ GeneralAssembly/Outcomes/
mkdir -p GeneralAssembly/Homework/week01/day01
mkdir -p GeneralAssembly/Notes/week01/day01
cd GeneralAssembly
echo "Keep calmn and code on" > "README.md"
You can’t perform that action at this time.