I hereby claim:
- I am xcud on github.
- I am xcud (https://keybase.io/xcud) on keybase.
- I have a public key whose fingerprint is 7BA8 6448 F6D1 3723 C179 A1E8 B6D3 B627 C518 10F7
To claim this, I am signing this object:
| #!/bin/bash | |
| # Cat Mode Toggle Script | |
| # Detects current state and toggles between enabled/disabled keyboard | |
| KEYBOARD_ID=28 | |
| MASTER_ID=3 | |
| TIMER_PID_FILE="/tmp/keyboard_timer_pid" | |
| # Function to check if keyboard is currently floating (disabled) |
| ### Keybase proof | |
| I hereby claim: | |
| * I am xcud on github. | |
| * I am xcud (https://keybase.io/xcud) on keybase. | |
| * I have a public key whose fingerprint is 3639 68AF 7B4C 85CA 8188 6F73 AFAE A77A 020D FE73 | |
| To claim this, I am signing this object: |
I hereby claim:
To claim this, I am signing this object:
Lessons Learned – The Hard Way Eric Schmidt, E&VC Final Class Transcribed by Abheek Anand
About Management Culture:
| public static bool IsImage(string path) | |
| { | |
| Dictionary<string, string[]> knownImageHeaders = new Dictionary<string, string[]>() | |
| { | |
| {"jpg", new [] { "FF", "D8" } }, | |
| {"bmp", new [] { "42", "4D" } }, | |
| {"gif", new [] { "47", "49", "46" } }, | |
| {"tif", new [] { "49", "49", "2A" } }, | |
| {"png", new [] { "89", "50", "4E", "47", "0D", "0A", "1A", "0A" } }, | |
| }; |
| $source = @" | |
| using System; | |
| using System.Runtime.InteropServices; | |
| using System.Security.Principal; | |
| using System.Text; | |
| using System.Collections.Generic; | |
| public static class ADPermissions { | |
| public static string[] EnumRights() | |
| { |
| using System; | |
| using System.Linq; | |
| using Mono.Options; | |
| namespace xcud | |
| { | |
| public class AttributedOptionSet : OptionSet | |
| { | |
| public static T Parse<T>(string[] args) where T : AttributedOptionSet, new() | |
| { |
| using System; | |
| using System.Linq; | |
| using System.Management.Automation; | |
| using System.Management.Automation.Runspaces; | |
| using System.Reflection; | |
| namespace Xcud.Net | |
| { | |
| /// <example> | |
| /// DynamicWebServiceProxy proxy = new DynamicWebServiceProxy(uri); |
| <# | |
| .Synopsis | |
| Demonstrate built-in Verbose support | |
| .Example | |
| PS> Correct-Example -Verbose | |
| VERBOSE: This works | |
| PS> Incorrect-Example -Verbose | |
| PS> Incorrect-Example2 -Verbose |
| <# | |
| .Synopsis | |
| Extend Get-Content to include a -Fast parameter; much less flexible but more performant | |
| .Example | |
| PS> (Measure-Command { Get-Content .\data.xml} ).TotalMilliseconds | |
| 1609.3267 | |
| PS> (Measure-Command { Get-Content .\data.xml -Fast} ).TotalMilliseconds | |
| 39.2511 | |
| #> |