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
| analyse: | |
| tags: | |
| - xcode11 | |
| script: | |
| - pod install | |
| - start-simulator.sh "iPhone 11 Pro" | |
| - run-sonar-swift.sh -sonarurl=$SONAR_URL -sonarlogin=$SONAR_TOKEN |
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
| xcodebuild \ | |
| -workspace MyAwesomeApp.xcworkspace \ | |
| -scheme MyAwesomeApp \ | |
| -sdk iphonesimulator \ | |
| -destination 'platform=iOS Simulator,name=iPhone 6,OS=8.1' \ | |
| test |
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
| var socket = require('socket.io-client')('http://localhost:1337' + '?__sails_io_sdk_version=0.11.0'); | |
| socket.on('connect', function(){ | |
| console.log("Socket is connected !"); | |
| // Subscribe | |
| socket.emit('post', {url: 'http://localhost:1337/subscribe',data: {key: value}}, function() { | |
| }); |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
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
| // A simple Groovy script using Ghost4J to perform PDF document analyzing (page count, font report, ink coverage) | |
| // The script expects a single argument: a PDF filename or URL | |
| @GrabResolver(name='ghost4j', root='http://repo.ghost4j.org/maven2/snapshots/') | |
| @Grab(group='org.ghost4j', module='ghost4j', version='0.5.1-SNAPSHOT') | |
| import org.ghost4j.analyzer.AnalysisItem | |
| import org.ghost4j.analyzer.FontAnalyzer | |
| import org.ghost4j.document.PDFDocument | |
| import org.ghost4j.analyzer.InkAnalyzer | |
| // Parse arguments |
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
| Ext.define('MyApp.util.I18n', { | |
| singleton : true, | |
| config : { | |
| defaultLanguage : 'en', | |
| translations : { | |
| 'en' : { | |
| 'signIn' : 'Sign in', | |
| 'name' : 'Name', | |
| 'hello' : 'Hello {0} !', |