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
module Executor | |
def self.included(classname) | |
puts "#{classname} included me, #{self}! I feel loved!" | |
puts "Now I am going to automagic some methods into #{classname}..." | |
classname.class_eval do | |
def scream | |
"OH MY GLOB" | |
end | |
end | |
end |
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
package main | |
import ( | |
"fmt" | |
"sync" | |
"time" | |
) | |
type State string |
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
##Dockerfile | |
FROM centos:7 | |
RUN yum update -y && yum install -y wget perl openssl-devel dmidecode | |
RUN wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash | |
RUN yum install -y srvadmin-idracadm7 | |
RUN cp /opt/dell/srvadmin/bin/idracadm7 /usr/local/bin/racadm | |
##Build via... (run inside somedir/Dockerfile) |
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
set background=dark | |
if version > 580 | |
hi clear | |
if exists("syntax_on") | |
syntax reset | |
endif | |
endif | |
set t_Co=256 | |
let g:colors_name = "gooey" |
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
upstream <%= @name %> { | |
server <%= @upstream_server %> fail_timeout=0; | |
} | |
server { | |
<%= "listen #{@listen};" unless @listen.nil? %> | |
<%= "root #{@root};" unless @root.nil? %> | |
client_max_body_size 0; | |
try_files $uri/index.html $uri.html $uri @<%= @name %>; | |
location @<%= @name %> { |
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
#!/usr/bin/env ruby | |
#Avoid pressing a few keys, lock your OSX machine in a more terrible way! | |
#Make changes where you need (ie replace 'Pixel 3a' with your paired device) | |
#and whatnot... (also, put the wifi-button on your toolbar thingie) | |
require 'io/console' | |
require 'yaml' |
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
package main | |
import ( | |
//"fmt" | |
"os" | |
"io/ioutil" | |
"time" | |
"net/http" | |
"fyne.io/fyne" | |
"fyne.io/fyne/app" |
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
CreateThread(function() | |
GiveWeaponToPed(PlayerPedId(), "WEAPON_SMG", 10000, false, true) | |
while true do | |
Wait(0) | |
local handle, ped = FindFirstPed() | |
local success | |
repeat | |
local pos = GetEntityCoords(ped) |
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
Player = {} | |
Player.__index = Player | |
function Player.init(p) | |
local p = p or {} | |
local _env = _ENV | |
setmetatable(p, | |
{ | |
__index = function() end, | |
__newindex = function() end, |
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
curl --http2-prior-knowledge -svo /dev/null https://patches.rockstargames.com/prod/gtav/Launcher_EFIGS/GTA_V_Launcher_1_0_440_2.exe -w "\nContent Type: %{content_type} \ | |
\nHTTP Code: %{http_code} \ | |
\nHTTP Connect:%{http_connect} \ | |
\nNumber Connects: %{num_connects} \ | |
\nNumber Redirects: %{num_redirects} \ | |
\nRedirect URL: %{redirect_url} \ | |
\nSize Download: %{size_download} \ | |
\nSize Upload: %{size_upload} \ | |
\nSSL Verify: %{ssl_verify_result} \ | |
\nTime Handshake: %{time_appconnect} \ |
NewerOlder