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
<?php | |
/** | |
Sample to get a url variable through GET method | |
Example URL: ../sample.php?apikey=MY_KEY | |
*/ | |
// Define the API key here | |
$APIKey = 'MY_KEY'; // this is the key that the app has to send on the URL |
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
javascript:function hide(){ document.getElementById('content').style.opacity='0';document.getElementById('pagelet_bluebar').style.opacity='0';document.getElementById('pageFooter').style.opacity='0';}hide(); |
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
$translatableFallbackLocale = Config::get('translatable::fallback_locale'); | |
$project = Project::find($id); | |
$project_default = $project->translate($translatableFallbackLocale); | |
// Translations | |
if(!$project->title) { | |
$title = $project_default->title; | |
} else { | |
$title = $project->title; | |
} |
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
// Nono Martínez Alonso (@nonoesp) (www.nono.ma) | |
// 151027 | |
boolean shouldSaveFrames = false; // Set to true to export footage frames | |
PShape s; | |
void setup(){ | |
size(800, 600, P3D); | |
pixelDensity(displayDensity()); |
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
.Trends, | |
.flex-module, | |
[data-nav=moments], | |
.dm-nav, | |
#global-new-tweet-button, | |
.Icon--bird { | |
display: none; | |
} |
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
* { | |
border: none; | |
font-family: "ITC Franklin Gothic Std"; | |
font-weight: 400; | |
} | |
div.box.homescreen:last-of-type { | |
display: none; | |
} |
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
* { | |
font-weight: 400; | |
} | |
[title*="Inbox"].n0 { | |
visibility: hidden; | |
} | |
[title*="Inbox"].n0:before { | |
content: "Inbox"; |
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
convert -delay 30 00.png 01.png 02.png 03.png 04.png n.png animation.gif |
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
GetAvailablePort(8080); |
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
let models = [ | |
'cat', | |
'bird', | |
'bicycle', | |
'octopus', | |
'face', | |
'flamingo', | |
'cruise_ship', | |
'truck', | |
'pineapple', |
OlderNewer