Skip to content

Instantly share code, notes, and snippets.

Mayrun mayrund

Block or report user

Report or block mayrund

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
@CHEF-KOCH
CHEF-KOCH / Disposal-no registration emai [2017 Edition]l.txt
Created Sep 2, 2017
Disposal-no registration email [2017 Edition]
View Disposal-no registration emai [2017 Edition]l.txt
http://www.guerrillamail.com/
http://www.tempinbox.com/
http://www.mailinator.com
http://www.temporaryinbox.com
http://www.10minutemail.com/10MinuteMail/index.html
http://www.mbx.cc/
http://www.yopmail.com/en/
https://moakt.com
http://www.fakenamegenerator.com/
https://temp-mail.org/en/
View Dev machine setup
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen -EnableShowAppsViewOnStartScreen -EnableSearchEverywhereInAppsView -EnableListDesktopAppsFirst
c
Set-CornerNavigationOptions -DisableUpperRightCornerShowCharms -DisableUpperLeftCornerSwitchApps -DisableUsePowerShellOnWinX
Enable-RemoteDesktop
cinst VisualStudio2013Professional -InstallArguments WebTools
cinst vs2013.4
View chmod-cheat-sheet
chmod cheat sheet
PERMISSION COMMAND
U G W
_____________________________________
|rwx rwx rwx chmod 777 <filename> |
|_____________________________________|
|rwx rwx r-x chmod 775 <filename> |
|_____________________________________|
View pycheck.sh
#!/bin/bash
if [ -e /usr/bin/python ]
then
echo "Python found!"
else
echo "Python missing!"
fi
@bmcculley
bmcculley / gist:ff66594523512bbbec06
Created Oct 6, 2014
Remove duplicate rows from table
View gist:ff66594523512bbbec06
DELETE FROM `table`
WHERE id IN (SELECT *
FROM (SELECT id FROM `table`
GROUP BY column HAVING (COUNT(*) > 1)
) AS A
);
@nicolaiarocci
nicolaiarocci / Microsoft .NET Framework 4.0 KB2468871 (x64).prq
Created Sep 8, 2014
.NET Framework 4.0 InstallShield KB2468871 Custom Prerequisites
View Microsoft .NET Framework 4.0 KB2468871 (x64).prq
<?xml version="1.0" encoding="UTF-8"?>
<SetupPrereq>
<conditions>
<condition Type="16" Comparison="2" Path="[WindowsFolder]Microsoft.NET\Framework\v4.0.30319" FileName="mscorlib.dll" ReturnValue="4.0.30319.233"></condition>
<condition Type="1" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\wow6432node\Microsoft\Updates\Microsoft .NET Framework 4 Extended\KB2468871\" FileName="" ReturnValue=""></condition>
<condition Type="1" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\wow6432node\Microsoft\Updates\Microsoft .NET Framework 4 Client Profile\KB2468871\" FileName="" ReturnValue=""></condition>
</conditions>
<operatingsystemconditions>
<operatingsystemcondition MajorVersion="5" MinorVersion="2" PlatformId="2" CSDVersion="" Bits="4" ProductType="1" ServicePackMajorMin="3"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="5" MinorVersion="2" PlatformId="2" CSDVersion="" Bits="4" ProductType="2|3" ServicePackMajorMin="2"></operatingsystemcondition>
@ik5
ik5 / ard_red.ino
Last active Aug 29, 2015
arduino based red color alarm for israeli missiles alert - a PoC video: http://youtu.be/AdF2AGIjtvY
View ard_red.ino
int led = 13;
int in = 0;
void setup() {
pinMode(led, OUTPUT);
Serial.begin(9600);
}
void loop() {
if (Serial.available() == 0) {
@bmcculley
bmcculley / search-and-replace.sh
Created Mar 25, 2014
Search and replace a word throughout a directory.
View search-and-replace.sh
find ./ -type f -exec sed -i 's/apple/orange/g' {} \;
@bmcculley
bmcculley / compatible.php
Created Mar 1, 2014
Make sure the server PHP version is compatible with code.
View compatible.php
<?php
if (version_compare(phpversion(), '5.3.10', '<')) {
// php version isn't high enough
echo 'version too low.';
}
else {
echo 'good to go.';
}
@keningle
keningle / gist:4582308
Created Jan 20, 2013
Check to see if function exists in PHP.
View gist:4582308
if (function_exists('function_name')) {
function_name()
}
You can’t perform that action at this time.