I hereby claim:
- I am Lomanic on github.
- I am lomanic (https://keybase.io/lomanic) on keybase.
- I have a public key whose fingerprint is 8472 D58D FD20 EF39 84AF 89E4 EC4C 6224 6EE1 2371
To claim this, I am signing this object:
// ==UserScript== | |
// @name UTM param stripper | |
// @author Paul Irish, Sam Hasler, Lomanic | |
// @namespace http://github.com/paulirish | |
// @version 1.3 | |
// @description Drop the UTM params from a URL when the page loads. | |
// @extra Cuz you know they're all ugly n shit. | |
// @include /^http.*\?.*[?&]utm_.*$/ | |
// @run-at document-start | |
// @updateURL https://gist.github.com/Lomanic/cf1158a9bfb90d8b5dbbb4d05483e857/raw/utmstrip.user.js |
#!/bin/bash | |
# ---------------------------------------------------------- | |
# Define common colors and styles | |
# | |
readonly RED='\033[0;31m' | |
readonly GREEN='\033[0;32m' | |
readonly ORANGE='\033[0;33m' | |
readonly BLUE='\033[0;34m' | |
readonly PURPLE='\033[0;35m' |
go test ./... | |
? github.com/shirou/gopsutil [no test files] | |
--- FAIL: TestCPUPercentIntervalZeroPerCPU (1.69s) | |
cpu_test.go:124: CPUPercent value is invalid: 1100.000000 | |
FAIL | |
FAIL github.com/shirou/gopsutil/cpu 5.957s | |
--- FAIL: TestDisk_partitions (0.01s) | |
disk_test.go:26: error Accès refusé. | |
FAIL | |
FAIL github.com/shirou/gopsutil/disk 1.039s |
package main | |
import ( | |
"fmt" | |
"syscall" | |
"unsafe" | |
) | |
type Process uintptr |
package main | |
import ( | |
"github.com/AllenDang/w32" | |
"io" | |
"os" | |
"unsafe" | |
"errors" | |
"fmt" | |
"syscall" |
@echo off | |
net session >nul 2>&1 | |
if %ERRORLEVEL% NEQ 0 ( echo Run this script with administrator privileges & exit /B 1 ) | |
:: https://gist.github.com/Albirew/613cbf63595647ff26b269d5271871a0 | |
echo +------------------------------------------------------------------+ | |
echo ^| SMBv1 patch against malwares like WannaCry ou notPetya / Petwrap ^| | |
echo +------------------------------------------------------------------+ | |
echo. | |
:: deactivate SMBv1 on SMB server | |
reg add "HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters" /v SMB1 /t REG_DWORD /d 0 /f |
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Transilien.com Bookmarks generator</title> | |
<style type="text/css"> /* Style based off bettermotherfuckingwebsite */ | |
body{margin:40px auto; | |
max-width:650px; | |
line-height:1.6; |
javascript:(function(){var newDiv=document.createElement("div");newDiv.setAttribute('id','qrcodeonfly');newDiv.innerHTML='<div style="position:fixed;top:50%;left:50%;z-index:99999;width:550px;height:550px;margin-top:-275px;margin-left:-275px;background-color:#fff;padding:49px;border:1px%20solid #ccc;box-shadow:0 0 20px rgba(0,0,0,0.3);"><img src="http://chart.apis.google.com/chart?cht=qr&chs=545x545&choe=UTF-8&chld=H&chl='+window.location+'"/><a href="javascript:(function(){document.body.removeChild(document.getElementById(\'qrcodeonfly\'));})()" style="display:block;position:absolute;top:-7px;right:-7px;color:#eee;font-family:verdana;font-size:18px;width:14px;height:14px;line-height:10px;text-align:center;cursor:pointer;font-weight:bold;background:#000;padding:3px;text-decoration:none;border:solid 3px white;border-radius:50%;box-shadow:0 0 5px rgba(0,0,0,0.5);">x</a></div>';document.body.appendChild(newDiv);})() |