Skip to content

Instantly share code, notes, and snippets.

View b14r's full-sized avatar
:shipit:

Bruno Montibeller b14r

:shipit:
View GitHub Profile
@noelbundick
noelbundick / LICENSE
Last active May 24, 2024 09:10
Exclude WSL installations from Windows Defender realtime protection
MIT License
Copyright (c) 2018 Noel Bundick
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@keithweaver
keithweaver / s3-upload-via-link.php
Last active May 18, 2023 16:44
Upload image using link to AWS S3 with PHP
@kijtra
kijtra / gooapi.php
Created December 4, 2014 02:08
[PHP] gooラボ( https://labs.goo.ne.jp/ )の文字列解析系API用のクラス(やっつけ)
<?php
/*
本番利用にはクレジット表記が必要なので注意
https://labs.goo.ne.jp/apiusage/
*/
class gooAPI
{
private $app_id = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx';
private $api_base = 'https://labs.goo.ne.jp/api/';
@andyj
andyj / html_for_international_calling coes.htm
Created October 22, 2013 21:57
HTML <select> international calling codes for each country
<!-- country codes (ISO 3166) and Dial codes. -->
<select name="countryCode" id="">
<option data-countryCode="GB" value="44" Selected>UK (+44)</option>
<option data-countryCode="US" value="1">USA (+1)</option>
<optgroup label="Other countries">
<option data-countryCode="DZ" value="213">Algeria (+213)</option>
<option data-countryCode="AD" value="376">Andorra (+376)</option>
<option data-countryCode="AO" value="244">Angola (+244)</option>
<option data-countryCode="AI" value="1264">Anguilla (+1264)</option>
<option data-countryCode="AG" value="1268">Antigua &amp; Barbuda (+1268)</option>
@biswarupadhikari
biswarupadhikari / paypalCurrencySelectDropDown.html
Last active May 19, 2017 15:47
Paypal Currency Select Drop Down
<select name="currency_code">
<option value="">Select Currency</option>
<option value="AUD">Australian Dollar</option>
<option value="BRL">Brazilian Real </option>
<option value="CAD">Canadian Dollar</option>
<option value="CZK">Czech Koruna</option>
<option value="DKK">Danish Krone</option>
<option value="EUR">Euro</option>
<option value="HKD">Hong Kong Dollar</option>
<option value="HUF">Hungarian Forint </option>
@flesch
flesch / get_http_status_header.php
Created August 10, 2010 14:31
Return the HTTP Status code as an integer.
<?php
function get_http_status_header($url) {
preg_match('/[0-9]{3}/', array_shift(get_headers($url)), $matches);
return (int) array_shift($matches);
}
?>