As long as composer support in CMS is "not there yet", you need to get around somehow.
Say you want to use the (awesome) markdown library, you need a way to get it in.
- Use a container extension with a private namespace
package main | |
import ( | |
"fmt" | |
"io" | |
"os" | |
) | |
var path = "/Users/novalagung/Documents/temp/test.txt" |
############################################################################# | |
# Apply a function to a list | |
############################################################################# | |
# Instead of... | |
newlist = [] | |
for word in oldlist: | |
newlist.append(word.upper()) | |
# ... use map |
app.config(function($compileProvider) { | |
if (!location.host.match(/localhost/)) { | |
$compileProvider.debugInfoEnabled(false); | |
} | |
}) |
# Backup | |
iptables-save > my-iptables | |
# Forbid access by an IP | |
iptables -A INPUT -p tcp --dport 8000 -s 1.2.3.4 -j ACCEPT | |
iptables -A INPUT -p tcp --dport 8000 -j DROP | |
# Optional restore OR manual modification apply | |
#iptables-restore < my-iptables |
.platform-android4_1 { | |
/*Any styles for android 4.1*/ | |
} | |
.platform-android4_3 { | |
/*Any styles for android 4.3*/ | |
} | |
.platform-android4_4 { | |
/*Any styles for android 4.4*/ |
<?php | |
// ## Requirements | |
// | |
// curl -sS https://getcomposer.org/installer | php | |
// mv composer.phar /usr/local/bin/composer | |
// composer require phpmailer/phpmailer | |
require 'vendor/autoload.php'; |
apt-get install fail2ban | |
apt-get update | |
apt-get upgrade | |
passwd |
TYPO3 Dynamic Return Type code completion
When using PhpStorm:
You're welcome, you owe me a beer.
package main | |
import ( | |
"fmt" | |
"os" | |
"path/filepath" | |
) | |
func main() ([]string, error) { | |
searchDir := "c:/path/to/dir" |