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
//: Playground - noun: a place where people can play | |
import Foundation | |
import XCPlayground | |
import PlaygroundSupport | |
import UIKit | |
struct Industry: Codable { | |
let name: String | |
let id: Int | |
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
//: Playground - noun: a place where people can play | |
import Foundation | |
import XCPlayground | |
import PlaygroundSupport | |
import UIKit | |
struct Industry: Codable { | |
let name: String | |
let id: Int | |
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 App\Http\Controllers; | |
use App\Jobs\TestJob; | |
use Illuminate\Http\Request; | |
class TestController extends Controller | |
{ | |
// |
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
<template> | |
<div> | |
<div class="col-md-6 vertical-center" v-for="(user, index) in users" :key="index"> | |
<input type="text" @input="updateUsername(user)" class="form-control" v-model="user.name"> | |
</div> | |
</div> | |
</template> | |
<script> | |
export default { | |
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
<template> | |
<paginated-table | |
v-if="companies.data" | |
:tableData="tableData" | |
:paginatedData="companies" | |
@pagination-change-page="getCompanies" | |
/> | |
</template> | |
<script> |
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 App\Http; | |
class Kernel extends HttpKernel | |
{ | |
/** More code above */ | |
protected $routeMiddleware = [ | |
'auth' => \App\Http\Middleware\Authenticate::class, | |
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, |
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
<template> | |
<div class="jem-paginated-table"> | |
<div class="jem-table-controls w-100"> | |
<div v-if="tableData.showSearch" class="w-100"> | |
<div class="p-3 w-100 d-flex align-items-center"> | |
<div class="input-group" style="max-width: 250px;"> | |
<input | |
class | |
style="max-width: 250px;" | |
v-model="query" |
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
version: "3" | |
services: | |
mssql: | |
image: "mcr.microsoft.com/mssql/server:2019-latest" | |
environment: | |
SA_PASSWORD: "SuperS3Cret" | |
ACCEPT_EULA: "Y" | |
MSSQL_AGENT_ENABLED: "true" | |
ports: | |
- "2500:1433" |
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
sed -E "s/(X'[^,\)]*')/CONVERT(\1 using utf8mb4)/g" ~/Desktop/rocheledb_2020-02-18.sql > ~/Desktop/outfile.sql |
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 { Provider as AuthProvider } from "./src/context/AuthContext"; | |
return loaded ? ( | |
<AuthProvider> | |
<NavigationContainer | |
theme={scheme === "dark" || darkModeSelected ? DarkTheme : LightTheme} | |
> | |
<Stack.Navigator> | |
<Stack.Screen | |
name="ResolveAuth" |
OlderNewer