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 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") |
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
https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Test-Logo.svg/1200px-Test-Logo.svg.png | |
https://cdn.pixabay.com/photo/2015/04/23/22/00/tree-736885__480.jpg | |
https://images.unsplash.com/photo-1494548162494-384bba4ab999?ixid=MnwxMjA3fDB8MHxzZWFyY2h8MXx8c3VucmlzZXxlbnwwfHwwfHw%3D&ixlib=rb-1.2.1&w=1000&q=80 | |
https://www.w3schools.com/w3css/img_lights.jpg | |
https://www.w3schools.com/howto/img_forest.jpg | |
https://www.w3schools.com/howto/img_snow.jpg | |
https://www.w3schools.com/howto/img_mountains.jpg | |
https://www.w3schools.com/howto/img_nature.jpg | |
https://www.w3schools.com/howto/img_fjords.jpg | |
https://www.w3schools.com/css/img_5terre_wide.jpg |
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
// Generates images from DNA - returns all of them in HTML | |
Tree.prototype.generateTreeImage = function(dna) { | |
var url = "https://studio.ethereum.org/static/img/cryptopizza/"; | |
dna = dna.toString(); | |
var basis = (dna.substring(0, 2) % 2) + 1; | |
var cheese = (dna.substring(2, 4) % 10) + 1; | |
var meat = (dna.substring(4, 6) % 18) + 1; | |
var spice = (dna.substring(6, 8) % 7) + 1; | |
var veggie = (dna.substring(8, 10) % 22) + 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
.layers_container { | |
margin-bottom: 10px; | |
width: 100%; | |
padding-top: 100%; | |
height: 0; | |
box-sizing: content-box; | |
position: relative; | |
transform: translateY(0); | |
} |
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
<script> | |
console.log("Block script loaded"); | |
var tag = document.createElement('script'); | |
tag.src = "https://www.youtube.com/iframe_api"; | |
var firstScriptTag = document.getElementsByTagName('script')[0]; | |
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); | |
var player; | |
function onYouTubeIframeAPIReady() { |
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
! function(window) { | |
function _log(msg) { | |
console.error(msg) | |
} | |
function _pad(character, num, size) { | |
for (var s = "" + num, c = character || "0"; s.length < size;) s = c + s; | |
return s | |
} |
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
<div class="slider-hexagonos"> | |
<ul class="my-slider"> | |
<?php | |
if ( block_rows( 'hexagonos' ) ): | |
while ( block_rows( 'hexagonos' ) ) : | |
block_row( 'hexagonos' ); | |
$titulo = block_sub_value( 'titulo' ); | |
$link = block_sub_value( 'link' ); | |
$texto = block_sub_value( 'texto' ); | |
$imagen_fija = block_sub_value( 'imagen-fija' ); |
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
// 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. |
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 ruby | |
require 'cloudflare' | |
module CloudFlare | |
class Connection | |
public :send_req | |
end | |
end |
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 $output = shell_exec('git fetch --all && git reset --hard origin/prod'); ?> | |
<style> | |
body{ | |
background-color: #1A1A1A; | |
color:#fff; | |
} | |
pre{ | |
padding:20px; | |
} |
NewerOlder