Skip to content

Instantly share code, notes, and snippets.

Vohmyanin Sergey Vasilevich Delagen

Block or report user

Report or block Delagen

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
@Delagen
Delagen / sams2.patch
Created Oct 22, 2017 — forked from V-Alexeev/sams2.patch
Patch for SAMS2 and Squid >= 3.2 (incomplete)
View sams2.patch
Index: src/samsredir.cpp
===================================================================
--- src/samsredir.cpp (revision 979)
+++ src/samsredir.cpp (working copy)
@@ -241,7 +241,7 @@
{
INFO ("Reason: Invalid fields count: " << fields.size());
INFO ("Output: " << line);
- cout << line << endl << flush;
+ cout << "ERR" << endl << flush;
@Delagen
Delagen / create-iso.sh
Created Aug 10, 2017 — forked from julianxhokaxhiu/create-iso.sh
Simple bash script to create a Bootable ISO from macOS Sierra Install Image from Mac App Store
View create-iso.sh
#!/bin/bash
#
# Credits to fuckbecauseican5 from https://www.reddit.com/r/hackintosh/comments/4s561a/macos_sierra_16a238m_install_success_and_guide/
# Adapted to work with the official image available into Mac App Store
#
# Enjoy!
hdiutil attach /Applications/Install\ macOS\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app
hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build
View angular-ios9-uiwebview.patch.js
/**
* ================== angular-ios9-uiwebview.patch.js v1.1.0 ==================
*
* This patch works around iOS9 UIWebView regression that causes infinite digest
* errors in Angular.
*
* The patch can be applied to Angular 1.2.0 – 1.4.5. Newer versions of Angular
* have the workaround baked in.
*
* To apply this patch load/bundle this file with your application and add a
You can’t perform that action at this time.