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
:: usage: c5_getvars.bat", "<searchpath>", "<messages.po-path>", "<file-extension to search>" | |
SETLOCAL ENABLEDELAYEDEXPANSION :: I wonder what this does ? | |
:: set extension | |
SET Extension=%3 | |
SET Extension | |
CALL :LoCase Extension | |
SET Extension |
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
uglify: { | |
options: { | |
banner: '/*! Uglify <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy hh:MM:ss") %> */\n', | |
sourceMap: true | |
}, | |
dist: { | |
files: { | |
'js/dist/scripts.min.js': ['<%= concat.dist.dest %>'] | |
} | |
}, |
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
ALTER TABLE table COLLATE = utf8_general_ci; | |
ALTER TABLE table CONVERT TO CHARACTER SET utf8; |
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
import sublime, sublime_plugin | |
import datetime | |
class SimplyInsertDateCommand(sublime_plugin.TextCommand): | |
def run(self, edit): | |
dateAsStr = datetime.datetime.today().strftime("%d.%m.%Y") | |
sels = self.view.sel() | |
cursor1 = sels[0] | |
self.view.insert(edit, cursor1.begin(), dateAsStr) |
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
tar -cvzf ./backup_$(date +"%Y%m%d").tgz ./ --exclude='*.tgz' --exclude './zugang.txt' --exclude './tmp/*' --exclude './logs/*' --exclude './var/*' --exclude './htdocs/build/*' --exclude './.git/*' --exclude './node_modules' |
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
[ | |
{ "keys": ["ctrl+alt+w"], "command": "close_workspace" }, | |
{ "keys": ["ctrl+alt+o"], "command": "prompt_open_project" }, | |
{ "keys": ["ctrl+alt+s"], "command": "save_project_as" }, //doesnt work | |
{ "keys": ["ctrl+shift+e"], "command": "open_folder_in_explorer" }, | |
{ "keys": ["ctrl+shift+x"], "command": "open_localhost_in_explorer" }, | |
//{ "keys": ["ctrl+alt+d"], "command": "simply_insert_date" }, | |
{ "keys": ["ctrl+shift+r"], "command": "refresh_folder_list" }, | |
{ "keys": ["ctrl+shift+b"], "command": "toggle_side_bar" }, | |
{ "keys": ["alt+."], "command": "reveal_in_side_bar" }, |
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
{ | |
"always_prompt_for_file_reload": true, | |
"color_scheme": "Packages/User/Coda.tmTheme", | |
"default_line_ending": "unix", | |
"detect_indentation": false, | |
"draw_white_space": "all", | |
"ensure_newline_at_eof_on_save": true, | |
"font_size": 10.0, | |
"hot_exit": false, | |
"ignored_packages": |
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 gulp = require('gulp'), | |
sass = require('gulp-sass'), | |
autoprefixer = require('gulp-autoprefixer'), | |
minifycss = require('gulp-minify-css'), | |
jshint = require('gulp-jshint'), | |
uglify = require('gulp-uglify'), | |
rename = require('gulp-rename'), | |
imagemin = require('gulp-imagemin'), | |
notify = require('gulp-notify'), | |
concat = require('gulp-concat'), |
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
<snippet> | |
<content><![CDATA[ | |
echo '<pre class="${2:debug-me}" style="color:#${3:666}; width:500px; font-size:11px; white-space: pre-wrap;">'; | |
echo '($1): '; | |
var_dump($1); | |
echo '</pre>'; | |
exit; | |
]]></content> | |
<tabTrigger>pre</tabTrigger> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Coda</string> | |
<key>settings</key> | |
<array> | |
<dict> | |
<key>settings</key> |