Run offlol.bat
as administrator to appear offline, with any arg to appear online.
$ offlol.bat
Please run as administrator.
admin $ offlol.bat
You will appear offline on League Client.
# How to consume Github Package private registry with yarn? | |
Create an .npmrc file in the same location as the package.json with this content. | |
``` | |
registry=https://registry.yarnpkg.com/ | |
@<username>:registry=https://npm.pkg.github.com | |
//npm.pkg.github.com/:_authToken=<your auth token> | |
always-auth=true |
extension String { | |
/// Finds matching groups and replace them with a template using an intuitive API. | |
/// | |
/// This example will go through an input string and replace all occurrences of "MyGreatBrand" with "**MyGreatBrand**". | |
/// | |
/// let regex = try! NSRegularExpression(pattern: #"(MyGreatBrand)"#) // Matches all occurrences of MyGreatBrand | |
/// someMarkdownDocument.replaceGroups(matching: regex, with: #"**$1**"#) // Surround all matches with **, formatting as bold text in markdown. | |
/// print(someMarkdownDocument) | |
/// | |
/// - Parameters: |
@dynamicMemberLookup | |
struct Template { | |
var template : String | |
private var data : [String:String] | |
var populatedTemplate : String { data.reduce(template) { $0.replacingOccurrences(of: "${\($1.key)}", with: $1.value) } } | |
init(template: String, data: [String:String] = [:]) { | |
self.template = template | |
self.data = data | |
} |
//-------- add this to webview ---------- | |
wv.setWebChromeClient(new webChromeClient()); | |
wv.addJavascriptInterface(new JSInterface(), "JSOUT"); | |
//----- add this to manifest under </activity> ----- | |
<receiver android:name=".NotificationPausePlay" /> |
// Note: This is a very simple example | |
// Typically the deviceHeight would be most useful inside of a scrollview's contentContainerStyle | |
// or some other view whose parent has no height itself. minheight in react native needs a parent | |
// to have a height. | |
// | |
import React, {Component} from 'react'; | |
import { | |
Text, | |
View | |
} from 'react-native'; |
These are the steps our team used to get Xcode 8's Automatic Signing working for our iOS app. We felt it would be valuable to share this with the community (particularly given the effort it required us to get it working). While our research yielded some valuable information from others, it wasn't as simple as it sounded. We figured that we're not alone. 😄
For reference, these were some of the resources that proved valuable to us:
These steps presume that you have some understanding of iOS code signing and familiarity w
import { Modal } from 'react-bootstrap' | |
import ModalDialog from 'react-bootstrap/lib/ModalDialog' | |
class DraggableModalDialog extends React.Component { | |
render() { | |
return <Draggable handle=".modal-title"><ModalDialog {...this.props} /></Draggable> | |
} | |
} | |
// enforceForce=false causes recursion exception otherwise.... |
dynu.com | |
dyn.com | |
no-ip.com | |
noip.com | |
changeip.com | |
afraid.org | |
duckdns.org | |
dnsdynamic.org | |
duiadns.net | |
myonlineportal.com |