⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
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
# | |
# Manifiesto del módulo 'GenPassword' | |
# | |
# Generado por David Pascual Rocher | |
# | |
# Generado el 12/04/2012 | |
# | |
@{ |
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
Set-StrictMode -Version 2.0 | |
function Sysinternals-Updater | |
{ | |
Param | |
( | |
[Parameter(Mandatory=$false)] | |
[Switch] | |
$checkOnly = $false, | |
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
USE ocsweb; | |
SELECT H.NAME, S.NAME, S.VERSION | |
FROM softwares S, hardware H | |
where S.NAME LIKE '%SoftwareName%' AND H.ID = S.HARDWARE_ID; |
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 | |
#++++++++++++++++ | |
# Monitor Switch | |
# | |
# Moves currently focused window from one monitor to the other. | |
# Designed for a system with two monitors. | |
# Script should be triggered using a keyboard shortcut. | |
# If the window is maximized it should remain maximized after being moved. | |
# If the window is not maximized it should retain its current size, unless | |
# height is too large for the destination monitor, when it will be trimmed. |
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 | |
header('Location: http://www.teamviewer.com/download/TeamViewerQS-wu.exe'); | |
exit(0); |
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
# Bind FS mount example | |
bindfs#/usr/local/lib/python2.6/dist-packages/django/contrib/admin/media /var/www/django-media fuse owner=www-data,group=www-data 0 0 | |
# CIFS mount example | |
//WindowsFiler/SharedFolder /unix/path/to/folder cifs rw,uid=unix-user,gid=unix-group,username=windows-user,password=windows-pass,domain=domainame 0 0 |
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
foreach ($itFile in ls *.markdown) | |
{ | |
if ($itFile -match '(.*)\.(\w+)') | |
{ | |
Write-Host 'Renaming ' $itFile | |
$destFile = $Matches[1] + '.md' | |
mv $itFile $destFile | |
} | |
} |
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
# You must load the System.Web assembly to your powershell session to make this script work. | |
[Reflection.Assembly]::LoadWithPartialName('System.Web') | |
function GenPassword | |
{ | |
Param( | |
[int] $PasswordLength = 0, | |
[ValidateSet("low", "medium", "high")] | |
[string] $PasswordComplexity = "medium" |
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
function pssh() | |
{ | |
Param | |
( | |
[Parameter(Mandatory=$true)] | |
[String] | |
$destinationHost = $null | |
) | |
OlderNewer