View .zshrc
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/remelehane/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
View html_utils.dart
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
dynamic launchURL(BuildContext context, String url) async { | |
if (url == 'about:blank') return; | |
if (url.startsWith('internal://')) { | |
final isGroups = url.contains('/groups'); | |
if (isGroups) return _handleUnsupported(context); | |
} | |
} |
View html_utils_test.dart
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
testWidgets('cant', (tester) async { | |
when(mockUrlLauncherHelper.cl(any)).thenAnswer((_) async => false); | |
when(mockCoreCubit.state).thenReturn(fixtureCoreCubitLoaded); | |
// assert | |
const mockUrl = 'https://test.test'; | |
Future<void> future(BuildContext context) async { | |
await Future.delayed(const Duration(seconds: 1)); | |
return htmlContentUtils.launchURL(context, mockUrl); |
View cloudSettings
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
{"lastUpload":"2020-12-15T03:11:23.399Z","extensionVersion":"v3.4.3"} |
View action.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
export const SEARCH_POST_START = 'SEARCH_POST_START'; | |
export const searchPostNoResults = data => ({ | |
type: SEARCH_POST_NO_RESULTS, data, | |
}); |
View completer_hook.dart
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
import 'dart:async'; | |
import 'package:flutter/src/widgets/framework.dart'; | |
import 'package:flutter_hooks/flutter_hooks.dart'; | |
class _CompleterHook extends Hook<Completer> { | |
@override | |
HookState<Completer, Hook<Completer>> createState() => _CompleterHookState(); | |
} |
View azure.yaml
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
pool: | |
name: Azure Pipelines | |
demands: xcode | |
steps: | |
- script: 'brew install fastlane' | |
displayName: 'Install fastlane' | |
- script: | | |
gem install bundler | |
View api.dart
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
import 'dart:io'; | |
import 'dart:convert'; | |
import 'package:cookie_jar/cookie_jar.dart'; | |
var cj = new CookieJar(); | |
class Session { | |
static HttpClient client = new HttpClient() |
View form_validation.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
//Basic custom form validation | |
$('#formSave').on('click', function() { | |
$('input[data-required="true"]').each(function(){ | |
if($(this).val() === '') { | |
$(this).addClass('required').val('This field is required'); | |
} | |
}); | |
if (cfarray.length === 0) { | |
$('#selectedResults').addClass('required').text('This field is required') |
View blocks.txt
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
0.0.0.0 mmofreegames.online |
NewerOlder