The FAQ maintained by Github covers most stumbling blocks, some other tips and tricks supplied here.
Add _site
to .gitignore
. The generated site should not be uploaded to Github since its gets generated by github.
%w(rubygems sequel fileutils yaml active_support/inflector).each{|g| require g} | |
require File.join(File.dirname(__FILE__), "downmark_it") | |
module WordPress | |
def self.import(database, user, password, table_prefix = "wp", host = 'localhost') | |
db = Sequel.mysql(database, :user => user, :password => password, :host => host, :encoding => 'utf8') | |
%w(_posts _drafts images/posts/featured).each{|folder| FileUtils.mkdir_p folder} |
// if php were viennese | |
€wert_ned_fix_naum | |
<?php | |
suder 'Servas Wean!'; | |
?> | |
schnua_ersetzn() |
The FAQ maintained by Github covers most stumbling blocks, some other tips and tricks supplied here.
Add _site
to .gitignore
. The generated site should not be uploaded to Github since its gets generated by github.
<?php | |
App::uses('FormHelper', 'View/Helper'); | |
/** | |
* BootstrapFormHelper. | |
* | |
* Applies styling-rules for Bootstrap 3 | |
* | |
* To use it, just save this file in /app/View/Helper/BootstrapFormHelper.php | |
* and add the following code to your AppController: |
(function(e){ return String.fromCharCode.apply(String, e.reverse()); })([9829, 32, 9829, 32, 9829, 32, 111, 115, 108, 97, 32, 33, 98, 101, 119, 32, 110, 114, 101, 100, 111, 109, 32, 101, 104, 116, 32, 116, 117, 111, 98, 97, 32, 115, 107, 108, 97, 116, 32, 101, 109, 111, 115, 101, 119, 97, 32, 101, 104, 116, 32, 108, 108, 97, 32, 102, 111, 32, 101, 115, 117, 97, 99, 101, 98, 32, 111, 105, 46, 100, 111, 107, 32, 111, 116, 32, 111, 103, 32, 111, 116, 32, 101, 118, 111, 108, 32, 100, 39, 73]); |
Please 🌟 this gist to vote for this proposal!
No other topic in software development probably has so much controversy as linting.
With a wrong workflow linting can be really a pain and will slow you and your team down. With a proper setup, though, it can save you hours of manual work reformatting the code and reducing the code-review overhead.