- Create bin folder
- Go to Settings/General and update:
- Output file: /bin/$(ProjectName)
- Working directory: /bin
- Test it!
- Delete main.c
- Create source folder
| I am attesting that this GitHub handle brunogarcia is linked to the Tezos account tz29WSy51ynZQ49YrQVZS2Ws4Ry4wPGQ4nNH for tzprofiles | |
| sig:spsig15pmYEzTzwBt8v3KFJhdYuXANFSyFqWTrEZtu7GQLczb9bA6hgxfvASFL2fVAU1DjS8C5LJ73rSwQnc6wvGBkoExhZSySJ |
| type Fn<T> = (payload: any) => T | |
| type PromiseFn<T> = () => Promise<T> | |
| type Options = { | |
| maxAttempts?: number, | |
| timeout?: number, | |
| delta?: number, | |
| validate?: Fn<boolean> | null, | |
| } | |
| /** |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| // ### Psuedoclassical Subclassing ### | |
| // This combines the name defined by `class` with the code defined in `constructor`: | |
| function Tree(size, leaves) { | |
| this.size = (typeof size === "undefined")? 10 : size; | |
| const defaultLeaves = {spring: 'green', summer: 'green', fall: 'orange', winter: null}; | |
| this.leaves = (typeof leaves === "undefined")? defaultLeaves : leaves; | |
| this.leafColor = null; | |
| } | |
| // The "instance" method: |
| - sudo apt-get update | |
| - sudo add-apt-repository ppa:webupd8team/java | |
| - sudo apt-get update | |
| - sudo apt-get install oracle-java8-installer | |
| - sudo update-alternatives --config java | |
| - java -version |
| // myComponent.scss | |
| .myStyle { | |
| composes: some-helper from '_helpers.scss'; | |
| } | |
| // _helpers.scss | |
| .some-helper { | |
| color: red | |
| } |
| ############### | |
| # GIT | |
| ############### | |
| sudo add-apt-repository -y ppa:git-core/ppa | |
| sudo apt-get update | |
| sudo apt-get install -y git | |
| # Configuration | |
| $ nano ~/.gitconfig |
| /* | |
| Bower copy | |
| Scrupulously manage file locations for bower dependencies. | |
| https://www.npmjs.com/package/grunt-bowercopy | |
| */ | |
| 'bowercopy': { | |
| libs: { | |
| options: { | |
| destPrefix: '<%= config.dev %>/assets/js/vendors' | |
| }, |
| /* | |
| FTP Deploy | |
| Grunt task for code deployment over ftp | |
| https://github.com/zonak/grunt-ftp-deploy | |
| */ | |
| 'ftp-deploy': { | |
| build: { | |
| auth: { | |
| host: 'ftp.TU_DOMINIO.com', | |
| port: 21, |