View gist:9b56da682340b67cc6007256ec89e8c0
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
DECLARE @eNum FLOAT | |
DECLARE @dNum NVARCHAR(10) | |
DECLARE @tNum FLOAT | |
DECLARE @level INT | |
DECLARE @counter INT | |
DECLARE @t TABLE ( | |
id INT | |
,eNum FLOAT | |
,dNum NVARCHAR(10) |
View Field.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
import React, {Component} from 'react' | |
import { Field as RField } from 'redux-form'; | |
import { | |
Input, | |
Checkbox, | |
Radio, | |
Select, | |
TextArea, | |
Button, | |
Form |
View index.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
import { combineReducers } from 'redux' | |
import { reducer as formReducer } from 'redux-form' | |
import { routerReducer } from 'react-router-redux' | |
import App from './App' | |
import Menu from './Menu' | |
import Login from './Login' | |
import UniList from './UniList' | |
import UniForm from './UniForm' |
View TranslatorExtension.php
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 | |
namespace KVZBundle\Form\Extension; | |
use Symfony\Component\Form\AbstractTypeExtension; | |
use Symfony\Component\Form\Extension\Core\Type\FormType; | |
use Symfony\Component\Form\FormInterface; | |
use Symfony\Component\Form\FormView; | |
use Symfony\Component\Translation\TranslatorInterface; |
View config.json
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
{ | |
"proc": { | |
"pid_file": "/var/run/nxs-chat-srv.pid", | |
"queue_worker_term_timeout": 10, | |
"rest_api_term_timeout": 10, | |
"daemonize": true | |
}, | |
"logging": { | |
"level": 31, | |
"path": "/var/log/nxs-chat-srv/nxs-chat-srv.log" |
View beh.ex
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
defmodule Behaviours.Telegram do | |
@moduledoc false | |
@callback sendInfo(accountId :: term, info :: term) :: {:ok} | |
end |
View webpack.conf.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
const path = require('path'); | |
const MiniCssExtractPlugin = require("mini-css-extract-plugin"); | |
module.exports = function(env) { | |
const production = process.env.NODE_ENV === 'production'; | |
return { | |
devtool: production ? 'source-maps' : 'eval', | |
entry: [ | |
'./js/app.js', | |
'./css/app.css', | |
'./css/phoenix.css', |
View handler.ex
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
case entities do | |
nil -> | |
text | |
entities -> | |
Enum.filter(entities, fn | |
%{type: "text_link"} -> true | |
_e -> false | |
end) | |
|> Enum.reduce({0, []}, fn %{length: length, offset: offset, url: url}, {prev, acc} -> |
View DepsViz.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
import React, { useEffect } from 'react'; | |
import ForceGraph3D from '3d-force-graph'; | |
import md5 from 'blueimp-md5'; | |
import { makeStyles } from '@material-ui/core/styles'; | |
import Close from '@material-ui/icons/Close'; | |
import Input from '@material-ui/core/Input'; | |
import InputAdornment from '@material-ui/core/InputAdornment'; | |
import IconButton from '@material-ui/core/IconButton'; | |
import SelectedTree from './Tree'; |
View async_code.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
function SignCadesBES_Async_File(certListBoxId, dataToSign, onSign, onError) { | |
cadesplugin.async_spawn(function* (arg) { | |
var e = document.getElementById(arg[ 0 ]); | |
var selectedCertID = e.selectedIndex; | |
if (selectedCertID == -1) { | |
alert("Select certificate"); | |
return; | |
} | |
var certificate = global_selectbox_container[ selectedCertID ]; | |
var Signature; |
OlderNewer