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
{"facebook":{"pattern":"fb:\/\/profile\/","url":"https:\/\/facebook.com"},"twitter":{"pattern":"twitter:\/\/user?screen_name=","url":"https:\/\/twitter.com"},"pintrest":{"pattern":"pinterest:\/\/user\/","url":"https:\/\/pinterest.com"},"instagram":{"pattern":"instagram:\/\/user?username=","url":"https:\/\/instagram.com"},"youtube":{"pattern":"vnd.youtube:\/\/","url":"https:\/\/youtube.com"},"yelp":{"pattern":"yelp:\/\/\/biz\/","url":"https:\/\/yelp.com\/user_details?userid="},"linkedin":{"pattern":"linkedin:\/\/profile?id=","url":"https:\/\/linkedin.com\/in\/"},"snapchat":{"pattern":"snapchat:\/\/add\/","url":"https:\/\/story.snapchat.com\/u\/"},"tiktok":{"pattern":"tsnssdk1233:\/\/profile\/","url":"https:\/\/www.tiktok.com\/"}} |
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
<?php | |
class EasyLASTFM | |
{ | |
const ENDPOINT = 'http://ws.audioscrobbler.com/2.0/'; | |
const URL = 'https://www.last.fm/music/'; | |
const API_KEY = ''; | |
const CACHETIME = '86400'; // 24 hours in seconds | |
private function create_dir($path) { |
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
<?php | |
class EasyLASTFM | |
{ | |
const ENDPOINT = 'http://ws.audioscrobbler.com/2.0/'; | |
const URL = 'https://www.last.fm/music/'; | |
const API_KEY = ''; | |
const CACHE = '86400'; // 24 hours in seconds | |
private function create_dir($path) { |
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
error 2018-11-19T18:18:32.528 thread-0 wasm_interface.cpp:933 eosio_assert ] message: read | |
error 2018-11-19T18:18:32.528 thread-0 http_plugin.cpp:580 handle_exception ] FC Exception encountered while processing chain.push_transaction | |
debug 2018-11-19T18:18:32.528 thread-0 http_plugin.cpp:581 handle_exception ] Exception Details: 3050003 eosio_assert_message_exception: eosio_assert_message assertion failure | |
assertion failure with message: read | |
{"s":"read"} | |
thread-0 wasm_interface.cpp:934 eosio_assert | |
pending console output: | |
{"console":""} | |
thread-0 apply_context.cpp:72 exec_one |
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
public function create_account($vars, $type) { | |
$api = ( new \BlockMatrix\EosRpc\ChainFactory )->api(); | |
$walapi = ( new \BlockMatrix\EosRpc\WalletFactory )->api(); | |
$eos = ( new \BlockMatrix\EosRpc\EosRpc( $api, $walapi) ); | |
$walapi->unlock( [self::WALLET_NAME, self::WALLET_PASS] ); | |
$eos->setWalletInfo( self::WALLET_NAME, self::WALLET_PASS ); | |
switch( $type ) { | |
case self::USER_TYPE_ACCOUNT : |
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
$args = [ | |
[ | |
'account' => 'eosio', | |
'name' => 'newaccount', | |
'authorization' => [['actor' => 'eosio', 'permission' => 'active']], | |
'data' => [ | |
'creator' => 'eosio', | |
'name' => $account_n, | |
'owner' => [ | |
'threshold' => 1, |
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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
concat: { | |
options: { | |
separator: '', | |
}, | |
dist: { | |
src: ['../scripts/*.functions.js'], | |
dest: '../js/application.js', | |
}, |
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
What's not new? Bug fixes, UI tweaks and new features oh my! | |
With this release we focused on adding features that our power users most requested! | |
* Convert your mobile view to a PNG and save it to your Desktop! | |
* Manage your breakpoints! Don't care about screens that are 360 pixels wide? Delete it! | |
* Custom User Agents! We have added the ability to set the user agent of the mobile view. You can also manage these via app Preferences! |
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
- (IBAction)getImageFromWeb:(id)sender { | |
// grab the width and height of the document in our mobileView. | |
CGSize contentSize = CGSizeMake( | |
[[mobileView stringByEvaluatingJavaScriptFromString:@"document.body.scrollWidth;"] floatValue], | |
[[mobileView stringByEvaluatingJavaScriptFromString:@"document.body.scrollHeight;"] floatValue] | |
); | |
// create a new window, offscreen. | |
NSWindow *hiddenWindow = [[NSWindow alloc] initWithContentRect: NSMakeRect( -1000,-1000, contentSize.width, contentSize.height ) | |
styleMask: NSTitledWindowMask | NSClosableWindowMask backing:NSBackingStoreNonretained defer:NO]; |
NewerOlder