Skip to content

Instantly share code, notes, and snippets.

Anabelle Handdoek anabelle

Block or report user

Report or block anabelle

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@anabelle
anabelle / cloudflare_pause.js
Created Nov 20, 2017
A node.js script to change the paused status of all the sites under a cloudflare account at once.
View cloudflare_pause.js
// run 'npm install cloudflare' before running this script
var cf = require('cloudflare')({
email: 'cloudflare@email.com', // Your cloudflare account email
key: 'yourapikey' // Your cloudflare api key, found in CLoudflare > My profile
});
cf.zones.browse({per_page: 60}).then( function( resp ){
for (var i = resp.result.length - 1; i >= 0; i--) {
console.log( "domain: ", resp.result[i].name );
cf.zones.edit( resp.result[i].id, { paused: true } ).then( function( resp ){ // change to paused: false when you want to unpause.
@anabelle
anabelle / cloudflare_control.rb
Created Nov 20, 2017 — forked from colinbm/cloudflare_control.rb
Pause or resume all your CloudFlare sites at once. Useful if CloudFlare is misbehaving.
View cloudflare_control.rb
#!/usr/bin/env ruby
require 'cloudflare'
module CloudFlare
class Connection
public :send_req
end
end
View .htaccess
# Apache Server Configs v2.2.0 | MIT License
# https://github.com/h5bp/server-configs-apache
# (!) Using `.htaccess` files slows down Apache, therefore, if you have access
# to the main server config file (usually called `httpd.conf`), you should add
# this logic there: http://httpd.apache.org/docs/current/howto/htaccess.html.
# ##############################################################################
# # CROSS-ORIGIN RESOURCE SHARING (CORS) #
# ##############################################################################
@anabelle
anabelle / TwitterStreams.js
Last active Aug 29, 2015 — forked from robwormald/gist:9317945
idea to handle multiple twitter streams
View TwitterStreams.js
var Twit = require('twit')
var twitterConnection = new Twit({
/**
* details go here
*/
})
var openStreams = {}
@anabelle
anabelle / mac2wep.py
Last active Jan 24, 2018
Script para averiguar claves de redes infinitum de 4 digitos.
View mac2wep.py
#!/usr/bin/env python
#-*- encoding: utf-8 -*-
# mac2wepkey Huawei HG520 by hochoa@websec.mx - 12/2010
# m2wkuvz (m2wkuvz ubuntu version) by hack@zosemu.com - 07/2012
import os, sys
def uso():
os.system("clear")
View index.html
<div class="triangulo"></div>
View unos_tabs.html
<div id="tabs">
<ul>
<li><a href="#tabs-1">Nunc tincidunt</a></li>
<li><a href="#tabs-2">Proin dolor</a></li>
<li><a href="#tabs-3">Aenean lacinia</a></li>
</ul>
<div id="tabs-1">
<p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p>
</div>
View una_tabla.html
<table>
<thead>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</thead>
<tbody>
<tr>
View slides.html
<div id="slider_tales" class="contenedor_slider">
<ul class="slides">
<li>
<!-- Slide -->
</li>
<li>
<!-- Slide -->
</li>
View rotate.css
#rotateDiv {
-webkit-transform:rotate(120deg);
-moz-transform:rotate(120deg);
-o-transform:rotate(120deg);
/* filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1.5); */
-ms-transform:rotate(120deg);
transform:rotate(120deg);
}
You can’t perform that action at this time.