This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_type: export | |
__export_format: 4 | |
__export_date: 2023-09-03T11:00:59.602Z | |
__export_source: insomnia.desktop.app:v2023.2.2 | |
resources: | |
- _id: req_e6d57f8354274e6ea9b81eb1e06f6ff3 | |
parentId: fld_7c426e3bbd534918bc0b6dcea5fb011a | |
modified: 1693737461100 | |
created: 1693736675897 | |
url: "{{ _.base }}/ojn_api/accounts/auth" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Dependency: pip3 install twitter | |
import twitter | |
# Go to http://apps.twitter.com/, create an app, and fill in these values: | |
consumer_key = 'www' | |
consumer_secret = 'xxx' | |
access_token = 'yyy' | |
access_token_secret = 'zzz' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am unlobito on github. | |
* I am unlobito (https://keybase.io/unlobito) on keybase. | |
* I have a public key ASCbyjhHAp3621abw-8PlV4mmc2u6SexxBS7SjSJoyTp9wo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require '/home/wwwcilku/public_html/Stripelib/lib/Stripe.php'; | |
if ($_POST) { | |
Stripe::setApiKey("sk_test_DwpmvsqgIkLNt3Tt0lvFW3mz"); | |
$token = $_POST['stripeToken']; | |
$error = ''; | |
$success = ''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$url = "http://inposdom.gob.do/codigopostal/jos_codigopostallist.php?start="; | |
$total = 128; | |
$postal = Array(); | |
for ($i=0; $i<=$total; $i++) { | |
$data = file_get_contents($url.($i*2)."1"); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Search { | |
function google($q) { | |
$request = 'http://ajax.googleapis.com/ajax/services/search/web?rsz=large&v=1.0&q='.urlencode($q); | |
$result = json_decode(Utils::request($request)); | |
//print_r($result->responseData->results); | |
$results = Array(); | |
foreach ($result->responseData->results as $result) { | |
$results[] = new SearchItem($result->titleNoFormatting, $result->url, $result->content, 'google'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
// initialize serial communication: | |
Serial.begin(9600); | |
// initialize the LED pins: | |
for (int thisPin = 2; thisPin < 7; thisPin++) { | |
pinMode(thisPin, OUTPUT); | |
} | |
} | |
void loop() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Athena:~ henriwatson$ nslookup microsoft.com | |
Server: 196.3.81.5 | |
Address: 196.3.81.5#53 | |
Non-authoritative answer: | |
Name: microsoft.com | |
Address: 207.46.232.182 | |
Name: microsoft.com | |
Address: 207.46.197.32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12/19/10 15:22 | |
Hardware: | |
Hardware Overview: | |
Model Name: MacBook Pro | |
Model Identifier: MacBookPro2,2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ACME API | |
// bbPress database model | |
$this->load->library('acmebbuser'); | |
class ACME_bbPress extends Model { | |
function ACME_bbPress() { | |
parent::Model(); | |
} |
NewerOlder