You may need to configure a proxy server if you're having trouble cloning
or fetching from a remote repository or getting an error
like unable to access '...' Couldn't resolve host '...'.
Consider something like:
| # import the wb module | |
| from wb import * | |
| # import the grt module | |
| import grt | |
| # import the mforms module for GUI stuff | |
| import mforms | |
| # define this Python module as a GRT module | |
| ModuleInfo = DefineModule(name="Refactor", author="mjlmo", version="0.1") |
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| /* CSS */ | |
| /* | |
| A neuron is basically the sum of its synapses. | |
| Along with a trigger threshold, that's all we need to calculate | |
| whether or not it will trigger at any given moment: | |
| */ | |
| const neuron = ({ synapses = [], threshold = 1 } = {}) => ({ | |
| synapses, | |
| threshold | |
| }); |
| sudo zypper in php5-phar php5-openssl | |
| curl -sS https://getcomposer.org/installer | php | |
| sudo mv composer.phar /usr/local/bin/composer | |
| import {Sql} from "../providers/Sql"; | |
| export class ExamplePage { | |
| constructor(private sql: Sql) { | |
| //sql.query(...); | |
| //... | |
| } | |
| } |
| using Gtk; | |
| public class MyApplication : Gtk.Application { | |
| public MyApplication () { | |
| Object(application_id: "testing.my.application", | |
| flags: ApplicationFlags.FLAGS_NONE); | |
| } | |
| protected override void activate () { |
Go to File -> Settings -> Tools -> Terminal and change Shell path based on the the installed git version.
for 64bit:
"C:\Program Files\Git\bin\sh.exe" --login -ifor 32bit:
"C:\Program Files (x86)\Git\bin\sh.exe" --login -i| 'use strict' | |
| const timeout = ms => new Promise(res => setTimeout(res, ms)) | |
| function convinceMe (convince) { | |
| let unixTime = Math.round(+new Date() / 1000) | |
| console.log(`Delay ${convince} at ${unixTime}`) | |
| } | |
| async function delay () { |