This file contains hidden or 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
/system script | |
add name="Music: Super Mario Bros" owner=admin policy=read source=":beep frequency=660 length=100ms;\ | |
\n:delay 150ms;\ | |
\n:beep frequency=660 length=100ms;\ | |
\n:delay 300ms;\ | |
\n:beep frequency=660 length=100ms;\ | |
\n:delay 300ms;\ | |
\n:beep frequency=510 length=100ms;\ | |
\n:delay 100ms;\ | |
\n:beep frequency=660 length=100ms;\ |
This file contains hidden or 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
Canal 2: http://138.117.4.70:8079/streams/d/Canal-2/playlist.m3u8 | |
Canal 4: http://138.117.4.70:8079/streams/d/Canal-4/playlist.m3u8 | |
Canal 6: http://138.117.4.70:8079/streams/d/Canal-6/playlist.m3u8 | |
Canal 8: http://138.117.4.70:8079/streams/d/Canal-25/playlist.m3u8 | |
Canal 9: http://138.117.4.70:8079/streams/d/Canal-9/playlist.m3u8 | |
Canal 10: http://138.117.4.70:8079/streams/d/Canal-10/playlist.m3u8 | |
Canal 11: http://138.117.4.70:8079/streams/d/Canal-11/playlist.m3u8 | |
Canal 12: http://138.117.4.70:8079/streams/d/Canal-12/playlist.m3u8 | |
Canal 13: http://138.117.4.70:8079/streams/d/Canal-13/playlist.m3u8 | |
Canal 15: http://138.117.4.70:8079/streams/d/Canal-15/playlist.m3u8 |
This file contains hidden or 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
#!/bin/bash | |
# | |
# Digital Ocean Ubuntu 18.04 x64 Droplet with "Regular Intel" CPU. | |
# Running: | |
# git clone https://gist.github.com/54fc09734a3911e91eeeb43434f117df.git | |
# cd 54fc09734a3911e91eeeb43434f117df/ | |
# chmod +x make-chr.sh | |
# ./make-chr.sh | |
# | |
# Once the reboot is done, login with root/CHANGEME and change the password! |
This file contains hidden or 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
// jQuery addons | |
// Serialize form fields recursively into json type object, | |
// so for example <input type="text" name="record[type][x]" value="1"> becomes {type: {x: 1}} | |
var | |
rbracket = /\[\]$/, | |
rarrayKeys = /\[(.*?)\]/g, | |
rarrayKeysPrefix = /^(.*?)\[.*/g, | |
rCRLF = /\r?\n/g, | |
rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, |
This file contains hidden or 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
# spec/locale/flexiones_es_mx_spec.rb | |
require 'rails_helper' | |
RSpec.describe :flexiones_es_mx do | |
contexto_singular_plural = { | |
"Sustantivos y adjetivos terminados en -ch forman el plural añadiendo -es" => [ | |
["sandwich", "sandwiches"], | |
["maquech", "maqueches"] |
This file contains hidden or 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
# lib/tasks/db.rake | |
namespace :db do | |
desc "Dumps the database to db/APP_NAME.dump" | |
task :dump => :environment do | |
cmd = nil | |
with_config do |app, host, db, user| | |
cmd = "pg_dump --host #{host} --username #{user} --verbose --clean --no-owner --no-acl --format=c #{db} > #{Rails.root}/db/#{app}.dump" | |
end | |
puts cmd |