This file contains 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
[DllImport("isxdl.dll")] | |
static extern Int32 isxdl_Download(IntPtr hWndParent, String pszURL, String pszFileName); | |
[DllImport("isxdl.dll")] | |
static extern Int32 isxdl_SetOption(String option, String value); | |
private void button_download_Click(object sender, EventArgs e) | |
{ | |
var fileUrl = "REPLACE_ME"; | |
This file contains 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
# run every day at 12am | |
00 00 * * * /home/x/run_backup.sh |
This file contains 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
@NgModuel({ | |
imports: [], // Import other module | |
declarations: [], // The components, directives and pipe belong to this module | |
providers: [], // Provide service (class name) that's defined in **this** module. External service is not needed here. | |
exports: [], // Export **declarable** classes so that other module can use. This is the public API of the component.. | |
entryComponents: [], // A list of components that are not referenced in a reachable component template in this moodule. | |
bootstrap: [] // Usually root component. | |
}) | |
export class AppModule { } |
This file contains 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
interface Transaction { | |
amount: number; | |
} | |
class Test { | |
private const BIG_AMOUNT = 10; | |
public getPositiveTransactions(transactions: Transaction[]) { | |
// point free | |
return transactions.filter(this.isPositive); |
OlderNewer