- Microsoft Visual Studio Code: build in git-support, auto-complete, TypeScript paramater lookup.
- Bitbucket for GIT: free private repo
.
├── index.ios.js
├── js
│ ├── actions
│ │ ├── ChatServerActionCreators.js
│ │ └── ChatThreadActionCreators.js
│ ├── components
│ │ ├── ChatScreen
│ │ │ ├── index.js
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
| import retrofit.Call | |
| import retrofit.Callback | |
| import retrofit.Response | |
| import retrofit.Retrofit | |
| /** | |
| * @author Alex Facciorusso | |
| * @since 06/11/15 | |
| */ |
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
| export class LoadingInterceptorConfig { | |
| constructor(public disableLoadingIndicator: boolean = false) { | |
| } | |
| } |
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
| #Requires -RunAsAdministrator | |
| <# | |
| .SYNOPSIS | |
| Enabled Powershell Remoting Over SSH. | |
| .NOTES | |
| Currently assumes you have installed openssh and powershell core, preferably via chocolatey as such: | |
| choco install powershell-core -y | |
| choco install openssh -y -params '"/SSHServerFeature /PathSpecsToProbeForShellEXEString:$env:programfiles\PowerShell\*\pwsh.exe"' | |
| #> | |
| [CmdletBinding()] |
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
| import frida, sys | |
| def on_message(message, data): | |
| if message['type'] == 'send': | |
| print("[*] {0}".format(message['payload'])) | |
| else: | |
| print(message) | |
| jscode = """ | |
| Java.perform(function () { |
terminal:
npm i --save-dev rollup rollup-watch rollup-plugin-typescript typescript typings
npm i -S react react-dom
./node_modules/.bin/typings install react react-dom --save
mkdir src dist
touch src/index.tsx
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
| // Convert Excel dates into JS date objects | |
| // | |
| // @param excelDate {Number} | |
| // @return {Date} | |
| function getJsDateFromExcel(excelDate) { | |
| // JavaScript dates can be constructed by passing milliseconds | |
| // since the Unix epoch (January 1, 1970) example: new Date(12312512312); |
#Transform web.config on build
- Unload the project
- Edit .csproj
- Append figure 1 to the end of the file just before
</Project>; v12.0 my change depending on your version of Visual Studio - Save .csproj and reload
- Open configuration manager
- Add a new Configuration Name: Base. Copy settings from: Release
- Copy the contents of your web.config
- Right click Web.Config > Add Config Transformation
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
| import { FormGroup, FormControl, FormArray, Validators } from "@angular/forms"; | |
| function testFormGroupTyped() { | |
| var frm = new FormGroup({ | |
| a: new FormArray([new FormControl(0)]), | |
| b: new FormControl(true), | |
| c: new FormGroup({ | |
| s: new FormControl("abc"), | |
| n: new FormControl(123) | |
| }) |
OlderNewer