text stringlengths 27 775k |
|---|
import 'dart:async';
import 'package:flutter/cupertino.dart';
import 'package:scrumpoker/models/sala.dart';
import 'package:scrumpoker/services/firebase_service.dart';
import 'package:scrumpoker/utils/api_response.dart';
import 'package:scrumpoker/utils/simple_bloc.dart';
class CadastroSalaBloc extends SimpleBloc<boo... |
import { Modals } from '../features/hooks'
import { ProviderForm, ProviderList } from '../features/provider'
import { Modal } from '../features/ui'
export default function ProvidersPage() {
return (
<>
<main className="px-32 py-16 grow">
<ProviderList />
</main>
<Modal kind={Modals.NewProvider} title="... |
using BenchmarkDotNet.Attributes;
using System;
using System.Collections.Generic;
using System.Text;
namespace ConcurrentWriteBytes
{
[MemoryDiagnoser, CoreJob, MarkdownExporter, RPlotExporter]
[MinColumn, MaxColumn, MeanColumn, MedianColumn]
public unsafe class ByteWriteTest
{
private readon... |
# -*- coding: utf-8 -*-
"""
Created on Wed Nov 10 08:12:00 2021
@author: Clym Stock-Williams
Creates contour plots of EI behaviour
"""
import numpy as np
import scipy as sp
import matplotlib.pyplot as plt
import matplotlib
from matplotlib import rcParams
import seaborn as sns; sns.set(color_codes=True)
plt.style.use... |
#!/bin/bash
echo "Stopping emulator..."
$ANDROID_HOME/platform-tools/adb emu kill
echo "Emulator stopped!"
|
use crate::{
keccak::{keccakf_u8, AlignedKeccakState, KECCAK_BLOCK_SIZE},
prelude::*,
};
use bitflags::bitflags;
use subtle::{self, ConstantTimeEq};
/// Version of Strobe that this crate implements.
pub const STROBE_VERSION: &str = "1.0.2";
bitflags! {
/// Operation flags defined in the Strobe paper. Thi... |
from sklearn.model_selection import GridSearchCV
import numpy as np
import pandas as pd
from sklearn.neural_network import MLPClassifier
train = pd.read_excel('stats.xls', sheet_name='train')
test = pd.read_excel('stats.xls', sheet_name='test')
array_train = train.values
array_test = test.values
X = array_train[0:, ... |
package org.savit.savitauthenticator.utils.otp
import org.savit.savitauthenticator.utils.TotpCounter
interface OtpSource {
@Throws(OtpSourceException::class)
fun getNextCode(sharedKey:String): String?
@Throws(OtpSourceException::class)
fun respondToChallenge(sharedKey: String, challenge: Strin... |
# monitor_job_list_postings
Scrape job listings daily and send an email when jobs are added or deleted. Currently it is only implemented for
STATS (https://www.stats.com/careers/).
## Contents
* `monitor_job_listings.py`: defines a general JobList class and a StatsLLC subclass that are used to scrape job
listing... |
---
layout: page
title: Projects
noheader: true
use-site-title: true
meta-description: A selection of games, tools and mods I worked on.
permalink: /projects/
---
<div class="project-section">
<h2 class="project-section-title">Commercial games</h2>
<h3 class="project-section-subtitle">A selection of the commer... |
## 重要提示
### `PageHelper.startPage`方法重要提示
只有紧跟在`PageHelper.startPage`方法后的<b>第一个</b>Mybatis的<b>查询(Select)</b>方法会被分页。
### 请不要配置多个分页插件
请不要在系统中配置多个分页插件(使用Spring时,`mybatis-config.xml`和`Spring<bean>`配置方式,请选择其中一种,不要同时配置多个分页插件)!
### 分页插件不支持带有`for update`语句的分页
对于带有`for update`的sql,会抛出运行时异常,对于这样的sql建议手动分页,毕竟这样的sql需要重视。
#... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Barang extends CI_Controller {
public function __construct()
{
parent::__construct();
}
public function tambah()
{
$this->db->select('RIGHT(barang.kode_barang,3) AS kode', false)->order_by('kode_barang','desc')->limit(1);
$q = $th... |
/**
* Created by SpaceQ on 2016/12/5.
*/
// var glb_status = require('../app/controller/glb_status');
// var message = require('../app/controller/message');
var specificRoom;
var rooms;
var deepcopy = function (obj) {
return $.extend(true, {}, obj);
};
var renderItem = function () {
items = $.extend(true, {}, r... |
#!/bin/bash
#SBATCH --ntasks=20
do_bench() {
TIMEFORMAT=%R
file=$1
resfile="$file.result"
output="$file.output"
{ time python powercouples.py -i $file -o $resfile ; } 2> $output
out=`cat $output`
f=`basename $file`
echo $f $out
rm $output
}
module load python/2.7.10
if [ "$1" == "... |
package utils
import (
"fmt"
"os"
"strings"
"github.com/bin3xish477/csg/models"
"github.com/jedib0t/go-pretty/table"
"github.com/jedib0t/go-pretty/text"
)
func StringInSlice(str string, slice []string) bool {
var temp []string
for _, s := range slice {
temp = append(temp, strings.ToLower(s))
}
for _, s ... |
## This folder contains minilabs
This folder holds the minilabs using the Python Otter-Grader Library
Simply run the .ipynb in each of the folders.
|
<!-- Plugin js for this page -->
<script src="<?php echo base_url('assets/vendors/select2/select2.min.js') ?>"></script>
<script src="<?php echo base_url('assets/vendors/typeahead.js/typeahead.bundle.min.js') ?>"></script>
<script src="<?php echo base_url('assets/vendors/dropify/dropify.min.js') ?>"></scri... |
<?php
/**
* @license see LICENSE
*/
namespace UForm\Form\Element;
/**
* Elements that implement this interface have the ability to be rendered without template
*/
interface Drawable
{
public function render($localData, array $options = [], \UForm\Form\FormContext $formContext = null);
/**
* Allows ... |
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu \
; RUN: -mattr=+spe | FileCheck %s
declare float @llvm.fabs.float(float)
define float @test_float_abs(float %a) #0 {
; CHECK-LABEL: test_float_abs:
; CHECK: ... |
// Import section
var express = require('express');
var bodyParser = require('body-parser')
var http = require('http');
var moment = require('moment');
var fs = require('fs');
function MkSDatabase (databaseInfo) {
var self = this;
// Static variables section
this.ModuleName = "[D... |
extern crate regex;
use std::collections::HashMap;
use regex::Regex;
pub fn parse(dom: &str) -> HashMap<String,i32> {
let re = Regex::new("(?P<time>\\d+)h.*</a|aria-label=\"Assigned\\sto\\s(?P<assignee>.*)\">").unwrap();
let mut flg = true;
let mut flatten = String::new();
let mut result = HashMap::new();
f... |
import { Options } from '../interfaces/stripe';
import { LazyStripeAPILoader } from './api-loader.service';
import { WindowRef } from './window-ref.service';
import { StripeInstance } from './stripe-instance.class';
export declare class StripeFactoryService {
private baseKey;
private baseOptions;
private lo... |
-- | Combinators for executing IO actions in parallel on a thread pool.
--
-- This module just reexports "Control.Concurrent.ParallelIO.Global": this contains versions of
-- the combinators that make use of a single global thread pool with as many threads as there are
-- capabilities.
--
-- For finer-grained control, y... |
# frozen_string_literal: true
require_relative '../enumerable_set_instruction'
require 'active_support/core_ext/module/delegation'
class ActiveSet
module Filtering
class EnumerableStrategy
delegate :attribute_instance,
:attribute_class,
:attribute_value,
:attri... |
import initializeAjaxForms from 'lib/helpers/initializeAjaxForms';
initializeAjaxForms('tr.instance-user #update');
|
class AddFieldsToFamilyDetails < ActiveRecord::Migration[6.1]
def change
add_column :family_details, :education, :string
add_column :family_details, :occupation, :string
add_column :family_details, :remarks, :string
end
end
# add_column <table name> <field_name> jsonb, default[]
|
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\recharge;
use Illuminate\Support\Str;
use DB;
public function recharge(Request $request)
{
$utm_medium = $request->input('utm_medium');
$created_at1 = $request->input('created_at1');
$created_at2 = $reques... |
import { SignUp,
SignIn,
verifyToken
} from "../controllers/authentication"
// import {
// }
module.exports = (app) => {
app.post('/signup', SignUp)
app.post('/signin', SignIn)
app.get('/verifyToken', verifyToken)
} |
import { MixerConnection } from '../mixer-connection';
import { MixerStore } from '../state/mixer-store';
import { select, selectRecordingBusyState, selectRecordingState } from '../state/state-selectors';
/**
* Represents the media player
*/
export class DualTrackRecorder {
/** Recording state (`0` or `1`) */
re... |
Hello! I am S3cBar0n!
This is my Python 3 Discord bot I have been working on.
Features:
Utilizes Cogs for easy modification of the bot while it is online/offline.
Has music playing capabilities and can queue up songs.
Has commands to calculate days until the end of the month and when summer officially begins
Ha... |
import EarlyStopping: done, update, update_training
# dummy criterion: stop when loss = training loss
struct Dummy <: StoppingCriterion end
@test update_training(Dummy(), 1.0) === nothing
@test update_training(Dummy(), 1.0, 42.0) == 42.0
update_training(c::Dummy, loss) = (training=loss, loss=nothing)
update_training... |
import { Component, Input, OnInit } from '@angular/core';
import { LearningGoalService } from 'app/course/learning-goals/learningGoal.service';
import { ActivatedRoute } from '@angular/router';
import { AlertService } from 'app/core/util/alert.service';
import { onError } from 'app/shared/util/global.utils';
import { f... |
Describe 'bldr deps.get'
Include spec/venv_inc
setup() {
setup_w_bldr
create_git
}
cleanup() {
cleanup_dir
}
BeforeEach 'setup'
AfterEach 'cleanup'
... |
/*-
* ============LICENSE_START=======================================================
* ONAP - SO
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* =============================================================... |
/*
* Created by shadowsparky in 2019
*
*/
package ru.shadowsparky.client.projection
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
import ru.shadowsparky.client.ConnectionType
import ru.shadowsparky.client.exception... |
import { spyContainers } from "../../test/spies/clones";
import { Container } from "../core/containers/Container";
import { IRIResolver } from "../core/iri/IRIResolver";
import { PatternBuilder } from "../patterns/PatternBuilder";
import { IRIRefToken } from "../tokens/IRIRefToken";
import { LiteralToken } from "../... |
class Solution(object):
def findRadius(self, houses, heaters):
"""
:type houses: List[int]
:type heaters: List[int]
:rtype: int
"""
houses.sort()
heaters.sort()
ans = 0
pos = 0
heaters = [float('-inf')] + heaters + [float('inf')]
... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { FlexLayoutModule } from '@angular/flex-layout';
import { MatButtonModule } from '@angular/material/button';
import { MatOptionModule } from '@angular/mate... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>{{$site->sitename ?? config('app.name')}} - {{$title ?? 'loan comparator... |
using System;
namespace Eto.Forms
{
public partial interface IControl
{
string ToolTip { get; set; }
Cursor Cursor { get; set; }
}
public partial class Control
{
public virtual Cursor Cursor {
get { return inner.Cursor; }
set { inner.Cursor = value; }
}
public virtual string ToolTip {
get... |
from contextlib import contextmanager
import logging
@contextmanager
def disable_logging(level=logging.ERROR):
logging.disable(level)
yield
logging.disable(logging.NOTSET)
|
// $Id: Client.cpp 91672 2010-09-08 18:44:58Z johnnyw $
#include "ace/INET_Addr.h"
#include "orbsvcs/RtecUDPAdminC.h"
#include "orbsvcs/RtecEventCommC.h"
#include "ace/OS_NS_strings.h"
const ACE_TCHAR *ior = ACE_TEXT("file://as.ior");
int
ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
try
{
CORBA::ORB_var o... |
import { User } from "./viewer.graphql";
const users: User[] = [
{
id: "1",
name: "Andrew Ross",
role: "CTO",
email: "andrew@windycitydevs.io",
github: "https://github.com/DopamineDriven",
twitter: "https://twitter.com/Dopamine_Driven",
linkedin: "https://www.linkedin.com/in/asross/",
image: "/assets/... |
<?php
class PWS_ProductQA_Model_Productqa extends Mage_Core_Model_Abstract
{
protected function _construct()
{
$this->_init('pws_productqa/productqa');
}
public function loadExtra($id)
{
$collection = $this->getCollection()
->joinProducts()
... |
# frozen_string_literal: true
require 'forwardable'
require 'dopp/document/context'
require 'dopp/document/structure'
module Dopp
# PDF document.
class Document
extend Forwardable
def_delegators(
:@context,
:page_size=, :landscape=, :rotate=,
:page_size, :landscape, :rotate,
:page... |
import torch
from torch import nn
from torchvision import models
from pose.utils import get_upsampling_weight
from .config import vgg16_caffe_path
class FCN32VGG(nn.Module):
def __init__(self, num_classes, pretrained=True):
super(FCN32VGG, self).__init__()
vgg = models.vgg16()
if pretrain... |
#!/bin/sh
# debian 8.3 or later
apt install -y clamav clamav-daemon
systemctl stop clamav-freshclam
freshclam
systemctl start clamav-freshclam
orig=$(pwd)
mkdir -p /tmp/clamav_test
cd /tmp/clamav_test
curl -OL 'http://www.eicar.org/download/eicar.com'
curl -OL 'http://www.eicar.org/download/eicar.com.txt'
curl -OL '... |
#!/bin/bash
set -e
PACKAGE=MurMurHash
VERSION=1.0
PWD=`pwd`
CWD=$PWD/$PACKAGE
DISTDIR=$CWD/dist/$PACKAGE
PATH=$PATH:/usr/local/probe/bin:$PATH
rm -rf ~/rpmbuild
rpmdev-setuptree
cp packaging/$PACKAGE.spec ~/rpmbuild/SPECS
rm -f $PACKAGE-$VERSION.tar.gz
tar czf $PACKAGE-$VERSION.tar.gz ./*
cp $PACKAGE-$VERSION.tar.gz... |
import { Router } from 'express';
import classRouter from './class.routes';
const routes = Router();
routes.use('/class', classRouter); //each call on /class/something...
// we're gonna use the classRouter
export default routes;
|
#!/usr/bin/env bash
cd /tmp
wget -O chruby-0.3.9.tar.gz https://github.com/postmodern/chruby/archive/v0.3.9.tar.gz
tar -xzvf chruby-0.3.9.tar.gz
cd chruby-0.3.9/
sudo make install
cd ..
rm -r chruby-0.3.9
|
* [分布式文件系统和hadoop的由来.md](分布式文件系统和hadoop的由来.md)
|
package main
import "fmt"
type node struct {
data int64
next *node
}
func main() {
obj := createNode(0)
obj.insert(1)
obj.insert(100)
obj.insert((1 << 63) - 1)
obj.insert(10000)
obj.remove(0)
obj.removeLast()
tempObj := obj
for tempObj.next != nil {
fmt.Println(tempObj.data)
tempObj = *tempObj.next... |
#import <UIKit/UIKit.h>
#import "MyExtension.h"
#import "NSString+Extension.h"
#import "UIImage+Extention.h"
#import "UIView+Extention.h"
FOUNDATION_EXPORT double MyExtensionVersionNumber;
FOUNDATION_EXPORT const unsigned char MyExtensionVersionString[];
|
<?php
// simple object to store parse_input's value in
class ArrangementInfo
{
private $subject;
private $object;
private $happinessDelta;
private function __construct(string $subject, string $object, int $delta)
{
$this->subject = $subject;
$this->object = $object;
... |
package Basic::Exports;
use strict;
use base 'Exporter';
use vars '@EXPORT';
@EXPORT = qw( foo bar );
sub foo { 'foo' }
sub bar { 'bar' }
1;
|
package App::Paws::Test::Utils;
use warnings;
use strict;
use Fcntl qw(SEEK_SET);
use File::Find;
use File::Spec::Functions qw(catfile);
use File::Temp qw(tempdir);
use base qw(Exporter);
our @EXPORT_OK = qw(get_default_config
make_maildir
test_setup
get_fi... |
package com.playground.roy
import scala.collection.mutable
import scala.collection.mutable.ListBuffer
object Main extends App {
case class Tree(value: Int, var left: Option[Tree], var right: Option[Tree])
case class TreeNode(value: Int, var left: TreeNode, var right: TreeNode)
def constructBinaryTree(arr: Arr... |
package ch.epfl.bluebrain.nexus.delta.plugins.storage.storages.operations.remote
import akka.actor.ActorSystem
import akka.http.scaladsl.model.ContentTypes.`text/plain(UTF-8)`
import akka.http.scaladsl.model.Uri
import akka.testkit.TestKit
import ch.epfl.bluebrain.nexus.delta.kernel.Secret
import ch.epfl.bluebrain.nex... |
# Copyright (c) OpenMMLab. All rights reserved.
import random
import numpy as np
import torch
def worker_init_fn(worker_id: int, num_workers: int, rank: int, seed: int):
"""Function to initialize each worker.
The seed of each worker equals to
``num_worker * rank + worker_id + user_seed``.
Args:
... |
"""Utilities used throughout for internationalization
"""
from django.utils import formats
import six
import decimal
def _date_format(date, format):
return formats.date_format(
date,
format,
use_l10n=True
).encode('UTF-8')
def l10n_date_iso(date):
return _date_format(date, 'DATE... |
<?php
return [
[
'username' => 'test',
'email' => 'test@test.test',
'auth_key' => 'ssssssssssssssssssssssssssssssss',
'password_hash' => '$2y$13$PP1EDCr7ujdhTxZT2DV96uM8e2rcdXHY1xAQINCIiB0gOck/VBwN6',
'password_reset_token' => 'RkD_Jw0_8HEedzLk7MM-ZKEFfYR7VbMr_9999999999',
... |
import 'package:elementary/elementary.dart';
import 'package:flutter/material.dart';
import '../../components/bottom_sheet_widget.dart';
import '../../home_screen.dart';
import '../../utils/scroll_physics/custom_clamping.dart';
import '../home_page.dart';
import 'home_wm_factory.dart';
import 'home_wm_interface.dart';... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FireCampTrigger : MonoBehaviour
{
private AudioManager audioManager;
private GameObject fireCampAmbiance;
private bool activate = false;
private bool deactivate = false;
private void Awake()
{
... |
require 'spec_helper_acceptance'
describe 'cassandra class' do
cassandra_uninstall21_pp = <<-EOS
Exec {
path => [
'/usr/local/bin',
'/opt/local/bin',
'/usr/bin',
'/usr/sbin',
'/bin',
'/sbin'],
logoutput => true,
}
if $::osfamily == 'RedHat' {
... |
package com.example.roomdemo.model.entity.relation
import androidx.room.Entity
import com.example.roomdemo.model.entity.Dog
/**
*@author ZhiQiang Tu
*@time 2021/7/26 19:51
*@signature 我们不明前路,却已在路上
*/
@Entity(primaryKeys = ["dogId","ownerId"])
data class DogOwnerCrossRef(
val dogId:Long,
val ownerId:Long
... |
require File.join(File.dirname(__FILE__), '../../constants_test_helper.rb')
require 'constants/libraries/physical'
class PhysicalTest < Test::Unit::TestCase
include Constants::Libraries
#
# initialize test
#
def test_initialize
c = Physical::SPEED_OF_LIGHT_IN_VACUUM
assert_equal "speed of... |
module Game
(newGameChan, runGame, newGame, GameMsg(..), PlayerMsg(..),
PlayerCmd(..), GameChan)
where
import Control.Concurrent
import Control.Monad
import Control.Monad.State
import Data.List
import Data.Maybe
import Data.Time
import ... |
import { Router } from "express";
import { clientUserRouter } from "infra/http/routes/clientUser.routes";
import { authRouter } from "./auth.routes";
const router = Router();
router.use("/auth", authRouter);
router.use("/client-user", clientUserRouter);
export default router;
|
using Xamarin.Forms;
using WorkingWithFiles.Tizen;
using System.IO;
using System.Threading.Tasks;
[assembly: Dependency(typeof(SaveAndLoad_Tizen))]
namespace WorkingWithFiles.Tizen
{
public class SaveAndLoad_Tizen : ISaveAndLoad
{
#region ISaveAndLoad implementation
public async Task SaveTextAsync (string file... |
/*
* Copyright (c) 2019 The StreamX Project
* <p>
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apach... |
#!/bin/bash
SCRIPT_PATH=$(dirname `which $0`)
cd $SCRIPT_PATH
# Clean up the object files and library
make clean
|
# 0.2.0
- Updated Clikt version from `2.4.0` to `2.6.0`
- Fixed bug in CLI that never allowed digit groups to be the same
- KounterSign logo is now displayed without modifying the default width of the console
- https://github.com/ajalt/clikt/issues/124
# 0.1.0
- Created initial project structure
- Added initial ... |
#if UNITY_EDITOR
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace z3y.Pens
{
[ExecuteInEditMode]
public class SetPropertyBlock : MonoBehaviour
{
[SerializeField] private TrailRenderer _trailRenderer;
void Start()
{
Color penColor ... |
#!/bin/bash
SB_DIR=/opt/study-buddies
cd $SB_DIR
source $SB_DIR/init-study-buddies-env.sh
./cloud_sql_proxy \
-instances=study-buddies-266004:us-west1:study-buddies-db=tcp:0.0.0.0:3306\
-credential_file=$SB_DIR/study-buddies-cloud-sql-sa.json &
./await-port.sh || exit 1
cd $SB_DIR/api/
npm run server
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enums {
public enum Character {
Aoi = 0,
Saki = 1
}
public enum Scenes {
MENU = 0,
CINEMATICS = 1,
GAME = 2
}
}
|
/**
* @author Ali Burhan Keskin <alikeskin@milvasoft.com>
*/
export const APP_STATE_CHANGE = 'APP_STATE_CHANGE';
export const COUNTER_INC = 'COUNTER_INC';
export const COUNTER_DEC = 'COUNTER_DEC';
export const PROFILE_STATE_CHANGE = 'PROFILE_STATE_CHANGE';
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using NUnit.Framework;
namespace Proj4Net.Tests.IO
{
/// <summary>
/// Test which serves as an example of using Proj4J.
/// </summary>
/// <author>mbdavis</author>
[TestFixture]
public class MetaCRS... |
package com.azkz.reservationchecker
import java.time.LocalDate
import java.time.LocalTime
import java.time.format.TextStyle
import java.util.*
class Lesson(
/** 日付 */
val date: LocalDate,
/** 開始時刻 */
val startTime: LocalTime,
/** 終了時刻 */
val endTime: LocalTime,
/** 自分の予約かどうか */
val isM... |
import User from './userModel';
import {db} from '../db/db';
import {Login} from '../app_types/login';
import {createToken} from '../security/token';
import jwt from 'jsonwebtoken';
export default class Session {
id?: number;
id_user: number;
token?: string;
date: Date;
constructor(idUser: number, token: j... |
clang -x assembler -target amdgcn--amdhsa -mcpu=fiji gemm.s -c -o gemm.o
clang -target amdgcn--amdhsa gemm.o -o gemm.co
|
Pour le redémarrage des Freebox (serveur et Player), il est nécessaire de donner les droits au script
----
#sudo chmod -R 777 /usr/share/nginx/www/jeedom/plugins/freeCrystal/ressources/
----
|
//
// SGNetObserver.h
// SGNetObserverDemo
//
// Created by apple on 16/9/19.
// Copyright © 2016年 iOSSinger. All rights reserved.
//
#import <UIKit/UIKit.h>
/**
* 网络状态变化的全局通知
* info-keys:
* @"status" 网络状态,SGNetworkStatus类型
* @"host" host 地址
*/
extern NSString *SGReachabilityChangedNotification;
ty... |
#
# Cookbook Name:: cpe_adobe_flash
# Attributes:: default
#
# Copyright (c) Facebook, Inc. and its affiliates.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licen... |
use alloc::string::String;
use alloc::vec::Vec;
use crate::url::ParsedUrl;
#[derive(Debug)]
pub enum Method {
Get,
}
impl Method {
fn name(&self) -> String {
match self {
Method::Get => String::from("GET"),
}
}
}
#[derive(Debug)]
struct Header {
key: String,
value: St... |
# Olá, Mundo!
Primeiro teste de Git.
Vamo aprender pra passar no processe seletivo da EJ. \o/
|
Bovine Online was the name of a set of internet software that used to be released annually by UC Davis IET.
|
import React from "react";
import { BaseStyles } from "@primer/components";
import {
Deck,
Slide,
Text,
Heading,
Image,
List,
ListItem,
Appear,
Notes,
Link
} from "spectacle";
import { alicanteFrontendLogo, rules } from "./images";
import { withProtection } from "./helpers";
import { withActivity } ... |
/// <reference types="node" />
import { TypesafeRequestDispatcher } from '@fitbit/jsonrpc-ts';
import { BulkData, BulkDataStream, FDBTypes } from '@fitbit/fdb-protocol';
export default class BulkDataReceiver {
bulkData: BulkData;
name: string;
private contexts;
constructor(bulkData: BulkData, name: stri... |
---
title: "Pagamenti e Incassi"
date: 2020-04-24T22:47:10+02:00
draft: false
weight : 812
pre: "<b>8.12 </b>"
---
|
<div class="container-fluid">
<div class="row">
<div class="col-md-offset-4 col-md-4 text-center">
<div class="form-group" style="margin-top: 50px;">
<label for="group">Dropdown List</label>
<select id="list" onchange="changeValue()" class="form-control">
... |
use strict;
use Test::More;
use xt::Run;
my $output = run "--showdeps", "./testdist/MI-EUMM/";
like $output, qr/ExtUtils::MakeMaker/;
done_testing;
|
// Copyright 2015 Keybase, Inc. All rights reserved. Use of
// this source code is governed by the included BSD license.
package engine
import (
"testing"
"github.com/keybase/client/go/libkb"
)
func assertStreamCache(tc libkb.TestContext, valid bool) bool {
var ppsValid bool
if ps := tc.G.ActiveDevice.Passphras... |
require 'rails_helper'
RSpec.describe ApplicationHelper, type: :helper do
describe '#asset_url' do
it 'returns the absolute path of an asset' do
expect(helper.asset_url('quasars_logo.svg'))
.to match(%r{http://test.host/assets/quasars_logo})
end
end
end
|
# -*- coding: utf-8 -*-
import sys
import os
import re
from xml_parser import XMLParser
class AlignMerge(XMLParser):
default_output = u'alignment_merged.xml'
mandatory_files = ['Fr20125', 'Royal_20_D_1']
is_output_beautified = True
help = '''
Merge multiple single-MS alignment files into a singl... |
/*
* Copyright 2001-2013 Artima, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
<!DOCTYPE html>
<html>
<head>
<title>HOME CONTROLLER PAGE</title>
</head>
<body>
<h1 style="font-weight: bold;color: blue;">Welcome to Home page</h1><br>
<h1> my name is : <?php echo e($name); ?> </h1>
<br><hr>
<?php
var_dump($subject);
?>
</body>
</html><?php /**PATH C:\xampp\... |
import 'package:equatable/equatable.dart';
class VoteEntry extends Equatable {
final String internalMenuId;
final MenuItemTiming menuItemTiming;
VoteEntry(this.internalMenuId, this.menuItemTiming);
@override
List<Object> get props => [internalMenuId, menuItemTiming];
}
enum MenuItemTiming { BREAKFAST, LUN... |
#
# Copyright (c) 2019 ISP RAS (http://www.ispras.ru)
# Ivannikov Institute for System Programming of the Russian Academy of Sciences
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# h... |
public class projectEuler5 {
// brute force....
public static void main(String[] args)
{
int number = 21;
while (true)
{
if (isEvenlyDivisibleBy1To20(number))
{
System.out.println(number);
break;
}
number+=1;
}
}
public static boolean isEvenlyDivisibleBy1To20(int number... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.