This file contains hidden or 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
| # Mac OS X Lion introduced a new, iOS-like context menu when you press and hold a key | |
| # that enables you to choose a character from a menu of options. If you are on Lion | |
| # try it by pressing and holding down 'e' in any app that uses the default NSTextField | |
| # for input. | |
| # | |
| # It's a nice feature and continues the blending of Mac OS X and iOS features. However, | |
| # it's a nightmare to deal with in Sublime Text if you're running Vintage (Vim) mode, | |
| # as it means you cannot press and hold h/j/k/l to move through your file. You have | |
| # to repeatedly press the keys to navigate. |
This file contains hidden or 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
| public static class CartonConstants | |
| { | |
| public static readonly int LengthInInch = 18; | |
| public static readonly int WidthInInch = 18; | |
| public static readonly int HeightInInch = 8; | |
| } | |
| public class Solution | |
| { | |
| public bool ValidateLength(string lengthStr) |
This file contains hidden or 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
| public class Main { | |
| public static void main(String[] args) { | |
| System.out.println("Hello World!"); | |
| System.out.println(Fibonacci(0)); | |
| System.out.println(Fibonacci(1)); | |
| System.out.println(Fibonacci(2)); | |
| System.out.println(Fibonacci(15)); | |
| } |
This file contains hidden or 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
| import java.io.Console; | |
| public class Main { | |
| public static void main(String[] args) { | |
| // For test | |
| String s = " Hello world ! "; | |
| String s2 = ""; | |
| String s3 = null; | |
| String s4 = "1"; |
This file contains hidden or 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
| using System; | |
| namespace StringReverseWordOrder | |
| { | |
| class MainClass | |
| { | |
| public static void Main(string[] args) | |
| { | |
| var s = " Hello world ! "; | |
| var s2 = ""; |
This file contains hidden or 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
| using System; | |
| namespace Fibonacci | |
| { | |
| class MainClass | |
| { | |
| public static void Main(string[] args) | |
| { | |
| Console.WriteLine("Hello World!"); | |
| Console.WriteLine(Fibonacci(0)); |
This file contains hidden or 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
| ContentView.ConstrainLayout (() => | |
| border.Frame.Top == ContentView.Frame.Top && | |
| border.Frame.Height == 0.5f && | |
| border.Frame.Left == ContentView.Frame.Left && | |
| border.Frame.Right == ContentView.Frame.Right && | |
| nameLabel.Frame.Left == ContentView.Frame.Left + hpad && | |
| nameLabel.Frame.Right == ContentView.Frame.GetMidX () - 5.5f && | |
| nameLabel.Frame.Top >= ContentView.Frame.Top + vpad && |
This file contains hidden or 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
| // | |
| // Copyright (c) 2013-2015 Frank A. Krueger | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights | |
| // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| // copies of the Software, and to permit persons to whom the Software is | |
| // furnished to do so, subject to the following conditions: | |
| // |
This file contains hidden or 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
| ################# | |
| ## Eclipse | |
| ################# | |
| *.pydevproject | |
| .project | |
| .metadata | |
| bin/ | |
| tmp/ | |
| *.tmp |
This file contains hidden or 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
| g_LastCtrlKeyDownTime := 0 | |
| g_AbortSendEsc := false | |
| g_ControlRepeatDetected := false | |
| *CapsLock:: | |
| if (g_ControlRepeatDetected) | |
| { | |
| return | |
| } |
NewerOlder