This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p { | |
font-weight: 100; /* Thin (or "Hairline") */ | |
font-weight: 200; /* Extra Light (or "Ultra Light") */ | |
font-weight: 300; /* Light */ | |
font-weight: 400; /* Normal (or "Regular" or "Book") */ | |
font-weight: 500; /* Medium */ | |
font-weight: 600; /* Semi Bold (or "Demi Bold") */ | |
font-weight: 700; /* Bold */ | |
font-weight: 800; /* Extra Bold (or "Ultra Bold") */ | |
font-weight: 900; /* Black (or "Heavy") */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MATCH(TRUE,INDEX(ISBLANK(A1:A42),0,0),0)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SUMPRODUCT((MOD(ROW($A$1:$A$42),Length)-MOD(ROW(A5),Length)=0)*($A$1:$A$42)) | |
A5 is the cell to start counting from. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select> | |
<option value="AF">Afghanistan</option> | |
<option value="AL">Albania</option> | |
<option value="DZ">Algeria</option> | |
<option value="AS">American Samoa</option> | |
<option value="AD">Andorra</option> | |
<option value="AO">Angola</option> | |
<option value="AI">Anguilla</option> | |
<option value="AQ">Antarctica</option> | |
<option value="AG">Antigua and Barbuda</option> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.text_layer').removeAttr('style'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
console.log($1); | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>print</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>source.js</scope> | |
<description>console.log();</description> | |
</snippet> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 300 | sudo tee /sys/class/backlight/intel_backlight/brightness > /dev/null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo time-admin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Filters event listings on Meetup.com to show only the popular ones that have attendees greater than the specified number | |
function filterMeetupEvents(numberOfAttendees) { | |
var $attendeeCount = $('.attendee-count'); | |
var regexp = /([0-9]{1,3})/; | |
$.each($attendeeCount, function(index, val) { | |
if (($(this).html()+'').match(regexp)[0] < numberOfAttendees) { | |
$(this).parent().parent().parent().remove(); | |
} | |
}); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.accordion { | |
display: block; | |
width: 100%; | |
list-style: none; | |
cursor: pointer; | |
} | |
.accordion, .accordion * { | |
margin: 0; | |
padding: 0; | |
} |