start new:
tmux
start new with session name:
tmux new -s myname
$path = 'c:\tmp\some_pic_from_camera.jpg' | |
$shell = New-Object -COMObject Shell.Application | |
$folder = Split-Path $path | |
$file = Split-Path $path -Leaf | |
$objShell = $shell.Namespace($folder) | |
$shellfile = $objShell.ParseName($file) | |
#0..287 | Foreach-Object { '{0} = {1}' -f $_, $objShell.GetDetailsOf($null, $_) } | |
$hash = @{ |
using System; | |
using System.Threading; | |
namespace FunctionalExperiments | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
SomeEmptyClass someObject = new SomeEmptyClass(); |
using System; | |
using System.Collections.Concurrent; | |
using System.Threading; | |
namespace FunctionalExperiments { | |
class ExecutionPool | |
{ | |
private Boolean flag = true; | |
private readonly Thread thread; | |
private BlockingCollection<Func<bool>> taskQueue = new BlockingCollection<Func<bool>>(); |
public class VarArgsUtil { | |
public static Map<String,Object> convertArgs(Object[] params) { | |
final Map<String,Object> unsafeMap = new HashMap<>(); | |
for (int i = 0; i < params.length; i += 2) { | |
if (params[i] instanceof String && params[i] != null && !params[i].toString().isEmpty()) { | |
unsafeMap.put(params[i].toString(), params[i + 1]); | |
} | |
} |
public class InstanceOfTest { | |
private static class VeryBigDecimal extends BigDecimal { | |
public VeryBigDecimal(long val) { | |
super(val); | |
} | |
} | |
public static void main(String[] args) { |
package core; | |
public class Base58 { | |
private static final char[] ALPHABET = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz" | |
.toCharArray(); | |
private static final int BASE_58 = ALPHABET.length; | |
private static final int BASE_256 = 256; | |
private static final int[] INDEXES = new int[128]; |
(function() { | |
function init(globalVar) { | |
window.rsh = globalVar; | |
if(window.attachEvent) { | |
window.attachEvent('onload', loadComplete); | |
} else { | |
if(window.onload) { | |
var currentOnLoad = window.onload; | |
shell.onPageDone(currentOnLoad); |
listen=YES | |
connect_from_port_20=YES | |
anonymous_enable=YES | |
anon_root=/var/ftp | |
local_enable=NO | |
write_enable=YES | |
local_umask=022 | |
anon_upload_enable=YES | |
anon_mkdir_write_enable=YES |
#!/bin/bash | |
# | |
# Generates client and server certificates used to enable HTTPS | |
# remote authentication to a Docker daemon. | |
# | |
# See http://docs.docker.com/articles/https/ | |
# | |
# To start the Docker Daemon: | |
# | |
# sudo docker -d \ |