This file contains 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 | |
# | |
# Date: Jan 26th 2012 | |
# Author: Colin R. | |
# Revisions: Jacob "Boom Shadow" Tirey (boomshadow.net) | |
# Fixperms script for ServInt | |
# | |
# Fixperms script for cPanel servers running suPHP or FastCGI. | |
# Written for ServInt.net | |
# Copyright (C) 2012 Colin R. |
This file contains 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
sudo vim /private/etc/hosts | |
dscacheutil -flushcache |
This file contains 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
@echo off | |
for /d %%a in (*) do dir /ad /on /s /b "%%a" >> get_dirs.txt |
This file contains 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
<html> | |
<head> | |
<style> | |
textarea { | |
height: 300px; | |
width: 100%; | |
} | |
</style> | |
<script type="text/javascript"> |
This file contains 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
<?php | |
//検索キーワード | |
$keyword = 'アプリ'; | |
$uri = 'http://ax.search.itunes.apple.com/WebObjects/MZSearch.woa/wa/search?term=' . urlencode($keyword) . '&media=software'; | |
$context = stream_context_create(array('http' => array( | |
'method' => 'GET', | |
'header' => | |
'User-Agent: iTunes-iPhone/4.2.1 (2; 8GB)' . "\r\n" | |
. 'X-Apple-Store-Front: 143462-9,2' . "\r\n" |
This file contains 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
<?php | |
//Error Checking | |
error_reporting(E_ALL); | |
ini_set('display_errors', '1'); | |
//Set User domain extention | |
$LDAPUserDomain = "@my.domain"; //Needs the @, but not always the same as the LDAP server domain | |
?><form name="input" action="ldap.php" method="post"> | |
Username: <input type="text" name="u"> <?php echo $LDAPUserDomain;?><br /> | |
Password: <input type="password" name="p"> |
NewerOlder