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
dpkg --get-selections | grep -v deinstall > ubuntu-files |
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
Show hidden characters
{ | |
"installed_packages": | |
[ | |
"Alignment", | |
"BracketHighlighter", | |
"ColorPicker", | |
"DocBlockr", | |
"Emmet", | |
"GitGutter", | |
"Laravel Blade Highlighter", |
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
{ | |
"aprosopo_active_bar": true, | |
"aprosopo_dark_dirty_red": true, | |
"aprosopo_dark_green": true, | |
"aprosopo_dirty_bar": true, | |
"aprosopo_dirty_button": true, | |
"aprosopo_hide_folder_expand_icon": false, | |
"aprosopo_hide_open_file_icons": false, | |
"aprosopo_no_file_icons": false, | |
"bold_folder_labels": true, |
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
[ | |
{ "keys": ["ctrl+tab"], "command": "next_view" }, | |
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" } | |
] |
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 | |
function XMLtoArray($xml) { | |
$xml = preg_replace('/(<\?xml[^?]+?)utf-16/i', '$1utf-8', $xml); | |
$xml = simplexml_load_string($xml); | |
return (array) $xml; | |
} |
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 | |
/** | |
* Print the given value and kill the script. | |
* | |
* @param mixed $value | |
* @return void | |
*/ | |
function pd($value) | |
{ |
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
@mixin prefixr($que, $arguments) { | |
#{$que}: $arguments; | |
-webkit-#{$que}: $arguments; | |
-ms-#{$que}: $arguments; | |
-moz-#{$que}: $arguments; | |
-o-#{$que}: $arguments; | |
} | |
@mixin transition($time) { | |
@include prefixr(transition, all $time linear); |
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
// Execute in the javascript console | |
// Ensure that you scroll to the bottom first | |
/** | |
* Execute in https://twitter.com/following to unfollow all users | |
*/ | |
$('.profile-stream .following button').click(); | |
/** | |
* Execute in https://twitter.com/followers to follow all users |
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 | |
App::after(function($request, $response) | |
{ | |
// Elimina esta condición si quieres probarlo en local | |
if (App::Environment() == 'production') | |
{ | |
if ($response instanceof Illuminate\Http\Response) | |
{ | |
$output = $response->getOriginalContent(); |
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
casper.on("page.error", function(msg, trace) { | |
this.echo("Error: " + msg, "ERROR"); | |
this.echo("file: " + trace[0].file, "WARNING"); | |
this.echo("line: " + trace[0].line, "WARNING"); | |
this.echo("function: " + trace[0]["function"], "WARNING"); | |
}); | |
casper.on('remote.message', function(message) { | |
this.echo('Remote: ' + message); | |
}); |
OlderNewer