This file contains 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
# Reference http://stackoverflow.com/a/18490935/2037928 | |
# Login as root | |
# Install needed packages | |
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev | |
cd /tmp | |
# Download appropriate ruby version https://www.ruby-lang.org/en/downloads/ |
This file contains 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
var deleteAllGroupMembers = (function () { | |
var deleteAllGroupMembers = {}; | |
// the facebook ids of the users that will not be removed. | |
// IMPORTANT: add your own facebook id here so that the script will not remove yourself! | |
var excludedFbIds = ['1234','11223344']; // make sure each id is a string! | |
var usersToDeleteQueue = []; | |
var scriptEnabled = false; | |
var processing = false; | |
deleteAllGroupMembers.start = function() { |
This file contains 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
$(document).keydown(function(event){ | |
if(event.keyCode==123){ | |
disabledAlert(); | |
console.log("Disabled! By GhostGeekBinary"); | |
console.log("Trying to press F12"); | |
return false; // Prevent from F12 | |
} | |
else if(event.ctrlKey && event.shiftKey && event.keyCode==73){ | |
disabledAlert(); |
This file contains 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
doctype html | |
html.no-js(lang='') | |
head | |
meta(charset='utf-8') | |
meta(http-equiv='x-ua-compatible', content='ie=edge') | |
title | |
meta(name='description', content='') | |
meta(name='viewport', content='width=device-width, initial-scale=1') | |
link(rel='apple-touch-icon', href='apple-touch-icon.png') | |
// Place favicon.ico in the root directory |
This file contains 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
!!! | |
%html.no-js{:lang => ""} | |
%head | |
%meta{:charset => "utf-8"}/ | |
%meta{:content => "ie=edge", "http-equiv" => "x-ua-compatible"}/ | |
%title | |
%meta{:content => "", :name => "description"}/ | |
%meta{:content => "width=device-width, initial-scale=1", :name => "viewport"}/ | |
%link{:href => "apple-touch-icon.png", :rel => "apple-touch-icon"}/ | |
/ Place favicon.ico in the root directory |
This file contains 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
/** | |
* Electronic Matrix — I Love You (Project E.M.I.L.Y) | |
* by Waren Gonzaga | |
* Version: 1.0.6 | |
* | |
* A velentine project for saying I Love You! | |
* Check this project on Instructables.com | |
* Link: https://www.instructables.com/id/Electronic-Matrix-I-Love-You | |
* | |
* Contribute to improve this project on gist! |
This file contains 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
/** | |
* Electronic Ultrasonic Emitter (Project E.U.E) - Basic Version | |
* by Waren Gonzaga | |
* Version: 1.0.6 | |
* | |
* A simple project that emits ultrasonic waves and possible to repel mosquiotoes. | |
* Check this project on Instructables.com | |
* Link: https://www.instructables.com/id/Electronic-Ultrasonic-Emitter-Basic-Version/ | |
* | |
* Contribute to improve this project on gist! |
This file contains 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
/** | |
* Waren's LED Music Visualizer (Project W.L.E.D.M.V) | |
* by Waren Gonzaga | |
* Version: 1.0.1 | |
* | |
* An Arduino project that translates the sound into lights. | |
* Check this project on Instructables.com | |
* Link: https://www.instructables.com/id/Warens-LED-Music-Visualizer | |
* | |
* Contribute to improve this project on gist! |
This file contains 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
add_action( 'init', 'custom_remove_footer_credit', 10 ); | |
function custom_remove_footer_credit () { | |
remove_action( 'storefront_footer', 'storefront_credit', 20 ); | |
add_action( 'storefront_footer', 'custom_storefront_credit', 20 ); | |
} | |
function custom_storefront_credit() { | |
?> | |
<div class="site-info"> |
This file contains 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
/* Smartphones (portrait and landscape) ----------- */ | |
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) { | |
/* Styles */ | |
} | |
/* Smartphones (landscape) ----------- */ | |
@media only screen and (min-width : 321px) { | |
/* Styles */ | |
} |
OlderNewer