I hereby claim:
- I am remino on github.
- I am remino (https://keybase.io/remino) on keybase.
- I have a public key ASCGsV6EsemWlJoi0DjwHgGl_KooA4hNcpxtoTnnfGhEYAo
To claim this, I am signing this object:
#!/bin/sh | |
# | |
# jsbookmarklet | |
# | |
# remi@remino.net | |
# 2018-04-19 | |
# | |
# Minify JavaScript file using uglify then save it to a file, | |
# output it to the screen, or copy the output to clipboard (macOS only), | |
# for usage as a browser bookmarklet. |
#!/bin/bash | |
# | |
# This pre-commit hook checks that you havn't left and DONOTCOMMIT tokens in | |
# your code when you go to commit. | |
# | |
# To use this script copy it to .git/hooks/pre-commit and make it executable. | |
# | |
# This is provided just as an example of how to use a pre-commit hook to | |
# catch nasties in your code. |
I hereby claim:
To claim this, I am signing this object:
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
_membersMaleCount: 1, | |
membersCount: 5, | |
membersMaleCount: Ember.computed('_membersMaleCount', { | |
get() { | |
return this.get('_membersMaleCount') | |
}, |
#!/bin/sh | |
# wsort | |
# Sort a single line of words | |
# | |
# Usage: | |
# wsort [words...] | |
# echo words | wsort | |
# | |
# Examples: |
<?php | |
class JsonHttpHeaders { | |
function headers() { | |
$headers = ''; | |
foreach ($_SERVER as $name => $value) { | |
if (substr($name, 0, 5) == 'HTTP_') { | |
$header_name = | |
str_replace(' ', '-', | |
ucwords(strtolower(str_replace('_', ' ', substr($name, 5))))); |
<?php | |
# ContactFormAPI | |
# | |
# Simple script with PHP class to send via e-mail the details | |
# of a form submitted to it via HTTP POST. PHP 5.5+ required. | |
# | |
# <form action="/contact_form_api.php" method="POST" accept-charset="UTF-8"> | |
# <input name="utf8" type="hidden" value="✓"> | |
# <!-- ... --> |
<IfModule mod_fastcgi.c> | |
AddHandler fastcgi-script .fcgi | |
</IfModule> | |
<IfModule mod_fcgid.c> | |
AddHandler fcgid-script .fcgi | |
</IfModule> | |
Options +FollowSymLinks +ExecCGI | |
RewriteEngine On |
<!doctype html> | |
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
<html> | |
<head> | |
<title>iOS 8 web app</title> | |
<!-- CONFIGURATION --> |