I hereby claim:
- I am stefanzweifel on github.
- I am stefanzweifel (https://keybase.io/stefanzweifel) on keybase.
- I have a public key whose fingerprint is EC86 B9C2 9050 F5EE ED2D E436 6938 B063 A922 A13E
To claim this, I am signing this object:
#301 Redirects for .htaccess | |
#Redirect a single page: | |
Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
#Redirect an entire site: | |
Redirect 301 / http://www.domain.com/ | |
#Redirect an entire site to a sub folder | |
Redirect 301 / http://www.domain.com/subfolder/ |
{ | |
"Seti_no_bar_undertabs": true, | |
"Seti_tabs_med": true, | |
"bold_folder_labels": true, | |
"caret_extra_width": 2, | |
"caret_style": "square", | |
"close_windows_when_empty": true, | |
"color_inactive_tabs": true, | |
"color_scheme": "Packages/User/base16-ocean.dark (SL).tmTheme", | |
"copy_with_empty_selection": false, |
require 'yaml' | |
dir = File.dirname(File.expand_path(__FILE__)) | |
configValues = YAML.load_file("#{dir}/puphpet/config.yaml") | |
data = configValues['vagrantfile-local'] | |
Vagrant.configure("2") do |config| | |
config.vm.box = "#{data['vm']['box']}" | |
config.vm.box_url = "#{data['vm']['box_url']}" |
select { | |
-moz-appearance: none; | |
text-indent: 0.01px; | |
text-overflow: ''; | |
} |
<?php | |
//Options | |
$token = 'YOUR_TOKEN_HERE'; | |
$domain = 'YOUR_SLACK_DOMAIN_GOES_HERE'; | |
$channel = '#general'; | |
$bot_name = 'Webhook'; | |
$icon = ':alien:'; | |
$message = 'Your message'; |
<input type="text" pattern="[0-9]*"> |
<input type="text" pattern="(0[1-9]|1[0-9]|2[0-9]|3[01]).(0[1-9]|1[012]).[0-9]{4}" name="date" placeholder="Enter a date in format dd.mm.yyyy"> |
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
# If the IP address does not match this one | |
RewriteCond %{REMOTE_ADDR} !^110.110\.110\.110$ | |
# And they are not accessing a certain subdirectory | |
RewriteCond %{REQUEST_URI} !^/admin | |
# And they are not accessing the development domain |
I hereby claim:
To claim this, I am signing this object:
<?php | |
$payload = array( | |
'key' => 'YOUR-API-KEY', | |
'url' => 'https://www.youtube.com/' | |
'height' => 800, // Optional | |
'width' => 500 // Optional | |
); | |
$payload = json_encode($payload); |