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
| //Open powershell | |
| //Change the directory to the target folder | |
| Get-ChildItem | % {$_.LastWriteTime = '01/01/2020 06:00:00'} |
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
| <apex:page > | |
| <meta charset="utf-8" /> | |
| <title>WebSocket Test</title> | |
| <script language="javascript" type="text/javascript"> | |
| var wsUri = "wss://echo.websocket.org/"; | |
| var output; | |
| function 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
| module.exports = app => { | |
| app.log('The app was loaded!') | |
| app.on('issues.opened', async context => { | |
| const params = context.repo({path: 'doc/file.json'}); | |
| var result = await context.github.repos.getContents(params); | |
| var contents = Buffer.from(result.data.content, 'base64').toString(); |
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 url = "<img height=\"100\" src=\"data:image/png;base64,testurlhere\" width=\"200\"></img>"; | |
| var tmp = document.createElement('div'); | |
| tmp.innerHTML = url; | |
| var src = tmp.querySelector('img').getAttribute('src'); | |
| snippet.log(src) |
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
| func: function() { | |
| btn.onclick = this.method1(param); | |
| } | |
| method1: function(param) { | |
| return function() { | |
| console.log(param); | |
| } | |
| } |
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
| language: node_js | |
| node_js: | |
| - "7" | |
| script: | |
| - echo "Deploy!!" | |
| install: | |
| - npm install -g firebase-tools | |
| after_success: | |
| - firebase deploy --project projectId --token $FIREBASE_TOKEN |