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
Import-Module posh-git | |
$GitPromptSettings.DefaultPromptPath.ForegroundColor = 0xFFA500 |
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
import os | |
from os.path import getsize | |
import struct | |
class CDate: | |
def __init__(self, year=0, month=0, day=0) | |
self.year = year | |
self.month = month | |
self.day = day |
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 killbill; */ | |
/*! SET storage_engine=INNODB */; | |
DROP TABLE IF EXISTS accounts; | |
CREATE TABLE accounts ( | |
record_id serial unique, | |
id varchar(36) NOT NULL, | |
external_key varchar(128) NULL, | |
email varchar(128) DEFAULT NULL, |
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
$ mvn clean package | |
[MVNVM] Using maven: 3.0.5 | |
[INFO] Scanning for projects... | |
[WARNING] | |
[WARNING] Some problems were encountered while building the effective model for com.groupon.api:umapi:war:1.20.0-SNAPSHOT | |
[WARNING] 'dependencies.dependency.systemPath' for com.groupon.clients:mx-clients:jar should use a variable instead of a hard-coded path /Users/davidx/Projects/Groupon/PaymentsChina/mx-clients/target/mx-clients-1.19.6-SNAPSHOT.jar @ line 50, column 25 | |
[WARNING] | |
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. | |
[WARNING] | |
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects. |
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
#! /usr/bin/env bash | |
################################################################################### | |
# # | |
# Copyright 2010-2011 Ning, Inc. # | |
# # | |
# Ning licenses this file to you under the Apache License, version 2.0 # | |
# (the "License"); you may not use this file except in compliance with the # | |
# License. You may obtain a copy of the License at: # |
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
[c_dxie@merchant-wallet-app1-staging log]$ cat /var/groupon/log/unicorn/merchantwallet.log | |
I, [2015-08-28T00:01:01.539149 #15837] INFO -- : master done reopening logs | |
I, [2015-08-28T00:01:01.556826 #15837] INFO -- : master reopening logs... | |
I, [2015-08-28T00:01:01.626600 #15856] INFO -- : worker=0 done reopening logs | |
I, [2015-08-28T00:01:01.631777 #15865] INFO -- : worker=3 done reopening logs | |
I, [2015-08-28T00:01:01.645392 #15837] INFO -- : master done reopening logs | |
I, [2015-08-28T00:01:01.645702 #15856] INFO -- : worker=0 reopening logs... | |
I, [2015-08-28T00:01:01.651287 #15865] INFO -- : worker=3 reopening logs... | |
I, [2015-08-28T00:01:01.659092 #15837] INFO -- : master reopening logs... | |
I, [2015-08-28T00:01:01.660397 #15862] INFO -- : worker=2 done reopening logs |
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
NUM = { | |
'1': 'one', | |
'2': 'two', | |
'3': 'three', | |
'4': 'four', | |
'5': 'five', | |
'6': 'six', | |
'7': 'seven', | |
'8': 'eight', | |
'9': 'nine', |
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
task :default => :test | |
task :test do | |
sh 'rspec calc_spec.rb' | |
end |
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
#!/usr/bin/env python3 | |
import re | |
import math | |
class CalculationException(Exception): | |
pass | |
class Calculation: |
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
lxie:test3 git:(master*) $ grunt build | |
Running "clean:dist" (clean) task | |
Cleaning .tmp...OK | |
Cleaning dist/index.html...OK | |
Cleaning dist/scripts...OK | |
Cleaning dist/styles...OK | |
Running "jade:dist" (jade) task | |
>> 1 file created. |
NewerOlder