Skip to content

Instantly share code, notes, and snippets.

View msmaromi's full-sized avatar

Muhammad S Maromi msmaromi

View GitHub Profile
@msmaromi
msmaromi / heasoft
Last active September 22, 2019 09:12
Setup Heasoft (NASA's Software)
# Download the software https://heasarc.gsfc.nasa.gov/docs/software/heasoft/download.html
# Extract
tar -xvzf heasoft-x.x.x.tar.gz
# This configuration is for bash variant. For other variant please check https://heasarc.gsfc.nasa.gov/docs/software/heasoft/ubuntu.html
# Instal pre-requisites
sudo apt-get -y install libreadline6-dev libcurl4 libcurl4-gnutls-dev libncurses5-dev xorg-dev gcc g++ gfortran perl-modules python3-dev
import { RECEIVE_ERROR } from '../core/Constants'
import {
REQUEST_GET,
REQUEST_GET_ONE,
REQUEST_POST,
REQUEST_PATCH,
REQUEST_PUT,
REQUEST_DELETE
} from '../core/RequestConstants'
import { handleError } from '../actions/app'
export const insert = (params) => {
return {
type: ActionTypes.MASTER_UNIT_SEASON_CREATE_INSERT,
endpoint: OrganizationAPI.custom('unit').all('season/'),
params,
request: REQUEST_POST
}
}
@msmaromi
msmaromi / arff
Last active August 29, 2015 14:10
data tes arff
sampang_madura_jawa_timur,LOCATION,LOCATION,di,lahir,_DEGREE_,_DATE_,umur,57,di,5,4,?
sampang_madura_jawa_timur,LOCATION,LOCATION,di,lahir,_DEGREE_,_DATE_,umur,57,lahir,5,4,?
sampang_madura_jawa_timur,LOCATION,LOCATION,di,lahir,_DEGREE_,_DATE_,umur,57,_DEGREE_,5,4,?
sampang_madura_jawa_timur,LOCATION,LOCATION,di,lahir,_DEGREE_,_DATE_,umur,57,_DEGREE_,5,4,?
sampang_madura_jawa_timur,LOCATION_LOCATION,LOCATION,di,lahir,_DEGREE_,_DATE_,umur,57,di,5,4,?
sampang_madura_jawa_timur,LOCATION_LOCATION,LOCATION,di,lahir,_DEGREE_,_DATE_,umur,57,lahir,5,4,?
sampang_madura_jawa_timur,LOCATION_LOCATION,LOCATION,di,lahir,_DEGREE_,_DATE_,umur,57,_DEGREE_,5,4,?
sampang_madura_jawa_timur,LOCATION_LOCATION,LOCATION,di,lahir,_DEGREE_,_DATE_,umur,57,_DEGREE_,5,4,?
sampang_madura_jawa_timur,LOCATION_LOCATION_LOCATION,LOCATION,di,lahir,_DEGREE_,_DATE_,umur,57,di,5,4,?
sampang_madura_jawa_timur,LOCATION_LOCATION_LOCATION,LOCATION,di,lahir,_DEGREE_,_DATE_,umur,57,lahir,5,4,?
@msmaromi
msmaromi / xml
Created December 2, 2014 22:09
data tes xml
<SENTENCE>
<DEGREE class='?'>Prof.</DEGREE> <DEGREE class='?'>Dr.</DEGREE> <PEOPLE id='1'>Mohammad Mahfud MD</PEOPLE>, <DEGREE class='?'>S.H.</DEGREE>, <DEGREE class='?'>S.U.</DEGREE> (lahir di <LOCATION class='?'><LOCATION>Sampang</LOCATION>, <LOCATION>Madura</LOCATION>, <LOCATION>Jawa Timur</LOCATION></LOCATION>,
<DATE class='?'>13 Mei 1957</DATE>; umur 57 tahun) adalah <OCCUPATION class='?'>Ketua Mahkamah Konstitusi</OCCUPATION> periode <DATE class='?'>2008</DATE>-<DATE class='?'>2011</DATE> dan <OCCUPATION class='?'>Hakim Konstitusi</OCCUPATION> periode <DATE class='?'>2008</DATE>-<DATE class='?'>2013</DATE>
</SENTENCE>
restkit.network:RKObjectRequestOperation.m:250 POST 'http://tanuwidjaja.net/mafotest/sc/shop/aList/0/0/20' (200 OK / 1 objects) [request=0.0000s mapping=0.0030s total=0.5055s]
2014-11-15 10:51:21.368 MavoIOS[2332:51320] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** setObjectForKey: key cannot be nil'
*** First throw call stack:
(
0 CoreFoundation 0x0000000101f34f35 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x0000000101bcdbb7 objc_exception_throw + 45
2 CoreFoundation 0x0000000101e3b998 -[__NSDictionaryM setObject:forKey:] + 968
3 MavoIOS 0x000000010043a23b -[SimpleTableViewController onListSuccess:] + 539
4 MavoIOS 0x000000010042e773 __26-[ShopManager doShopList:]_block_invoke + 179
5 MavoIOS 0x000000010051693b __66-[RKObjectRequestOperation setCompletionBlockWithSuccess:failure:]_block_invoke242 + 91
curl -v https://msmaromi:tak\ taoh@webhooks.nodejitsu.com/1/status/msmaromi/changes?include_docs=auto
* About to connect() to webhooks.nodejitsu.com port 443 (#0)
* Trying 165.225.130.241... connected
* Connected to webhooks.nodejitsu.com (165.225.130.241) port 443 (#0)
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
@msmaromi
msmaromi / errorlog
Created June 22, 2014 16:25
jitsu deploy error
$ jitsu deploy
info: Welcome to Nodejitsu msmaromi
info: jitsu v0.13.16, node v0.10.26
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node ./bin/www
warn: Local package version appears to be old
warn: The package.json version will be incremented automatically
warn: About to write /Users/msmaromi/learnnode/trenupp/package.json
data:
@msmaromi
msmaromi / cloudSettings
Last active February 25, 2020 23:34
package.json file
{"lastUpload":"2020-02-25T23:34:14.316Z","extensionVersion":"v3.4.3"}