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
UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 35)]; | |
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(10, 15, 320, 20)]; | |
CALayer *bottomBorder = [CALayer layer]; | |
bottomBorder.frame = CGRectMake(0, 40, 320, .5); | |
CALayer *rightBorder = [CALayer layer]; | |
rightBorder.frame = CGRectMake(320, 0, 40, .5); | |
CALayer *topBorder = [CALayer layer]; |
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
cd /opt/git | |
mkdir project.git | |
cd project.git | |
git --bare init |
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
// 输出结果: 12,345 | |
String(12345).replace(/(\d)(?=(\d\d\d)+(?!\d))/g, '$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
sudo butterfly.server.py --host="0.0.0.0" --unsecure & |
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
SELECT | |
b.name as "Table", | |
a.name as "COLUMN", | |
c.name as "Datatype", | |
a.max_length as "Size", | |
a.precision, | |
a.scale , | |
case when a.is_nullable =0 then 'NOT Null' else 'NUll' end as "NULL", | |
case when a.is_identity =0 then '×' else '○' end as "IDENTITY", | |
case when a.default_object_id = 0 then '×' else d.definition end as 'DEFAULT', |
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
nohup ssserver > log & |
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
rake generate | |
rake deploy |
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
update props$ set value$ = 'YYYY-MM-DD' where name='NLS_DATE_FORMAT' |
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
CREATE OR REPLACE PROCEDURE sp_Test | |
( | |
Param1 IN OUT DATE, | |
RetCursor OUT SYS_REFCURSOR | |
) | |
IS | |
BEGIN | |
OPEN Export_Fx_Mid FOR | |
SELECT |
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
deserialize |