- Do you have an Github account ? If not create one.
- Install required tools
- Latest Git Client
- gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
import WebKit | |
import UIKit | |
class WebViewController: UIViewController { | |
var url: URL! | |
var wKWebView: WKWebView! | |
@IBOutlet weak var containerView: UIView! | |
@IBOutlet weak var goBackButton: UIBarButtonItem! | |
@IBOutlet weak var goForwardButton: UIBarButtonItem! |
// | |
// RCTViewController.swift | |
// Grocerest | |
// | |
// Created by Davide Bertola on 15/03/2017. | |
// | |
import Foundation | |
import UIKit |
# Have origin be your fork, upstream is upstream. | |
$ git remote -v | |
origin [email protected]:jbeda/kubernetes.git (fetch) | |
origin [email protected]:jbeda/kubernetes.git (push) | |
upstream [email protected]:kubernetes/kubernetes.git (fetch) | |
upstream [email protected]:kubernetes/kubernetes.git (push) | |
# Make some changes to a bunch of files in a multi commit PR | |
# Find the commit you want to tweak, copy the hash |
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
package main | |
import ( | |
"github.com/graphql-go/graphql" | |
) | |
var queryType = graphql.NewObject(graphql.ObjectConfig{ | |
Name: "Query", | |
Fields: graphql.Fields{ | |
"latestPost": &graphql.Field{ |
@GQLQuery | |
class CommentsAndLikes extends React.Component { | |
static queries = { | |
commentAndLikes() { | |
return ` | |
likes { | |
id, | |
user { | |
id | |
} |
import React from 'react'; | |
import {fromJS} from 'immutable'; | |
import ServerError from '../app/components/shared/ServerError.jsx'; | |
class Renderer { | |
constructor(services, callback, req) { | |
this.services = services; | |
if (typeof callback === 'function') { |
# | |
# Still a lot to do, but it works! | |
# Been looking at how to do this for a long time | |
# | |
# Todo: good quality ecryption | |
# Todo: in memory resources (right now it is self extracting) | |
# Todo: check windows, should work but probably needs some tweaking |
This is a temporary workaround to disable auto updates. As we move out of the alpha there will be a nicer method.
There is a single simple script called "update-engine-reboot-manager" that does an automatic reboot after update-engine applies an update to your CoreOS machine. To stop automatic reboots after an update has been applied you need to stop this daemon. You can do this via a service file that is started at boot.
Create a file called /media/state/units/stop-reboot-manager.service
that has the following contents:
[Unit]