hexsha
stringlengths
40
40
size
int64
5
1.05M
ext
stringclasses
98 values
lang
stringclasses
21 values
max_stars_repo_path
stringlengths
3
945
max_stars_repo_name
stringlengths
4
118
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
368k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
945
max_issues_repo_name
stringlengths
4
118
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
134k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
945
max_forks_repo_name
stringlengths
4
135
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
5
1.05M
avg_line_length
float64
1
1.03M
max_line_length
int64
2
1.03M
alphanum_fraction
float64
0
1
cbe1e2e5db3347f7625493f8b079c84b340d976a
1,528
go
Go
ast/operation.go
emajcher/gq
edb4305bb06d61380422e1885298b3e2c369b247
[ "Apache-2.0" ]
null
null
null
ast/operation.go
emajcher/gq
edb4305bb06d61380422e1885298b3e2c369b247
[ "Apache-2.0" ]
null
null
null
ast/operation.go
emajcher/gq
edb4305bb06d61380422e1885298b3e2c369b247
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 HouseCanary, 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 agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package ast import ( "fmt" "io" ) type OperationType string const ( OperationTypeQuery OperationType = "query" OperationTypeMutation OperationType = "mutation" OperationTypeSubscription OperationType = "subscription" ) type OperationDefinition struct { OperationType OperationType Name string VariableDefinitions VariableDefinitions Directives Directives SelectionSet SelectionSet } func (o *OperationDefinition) MarshallGraphQL(w io.Writer) error { lenName := len(o.Name) if lenName > 0 { lenName++ } if _, err := w.Write([]byte(fmt.Sprintf(`%s%*s`, o.OperationType, lenName, o.Name))); err != nil { return err } if err := o.VariableDefinitions.MarshallGraphQL(w); err != nil { return err } if err := o.Directives.MarshallGraphQL(w); err != nil { return err } if err := o.SelectionSet.MarshallGraphQL(w); err != nil { return err } return nil }
25.898305
99
0.708115
e992973c4f828b2f60743a0668deb3b6a4aec82c
242
rb
Ruby
src/brain/decision.rb
jyoder/ultra-robo-blasters
c1b1ce5f54cd4861cd7c3303b3f8e814161053fd
[ "Unlicense" ]
null
null
null
src/brain/decision.rb
jyoder/ultra-robo-blasters
c1b1ce5f54cd4861cd7c3303b3f8e814161053fd
[ "Unlicense" ]
null
null
null
src/brain/decision.rb
jyoder/ultra-robo-blasters
c1b1ce5f54cd4861cd7c3303b3f8e814161053fd
[ "Unlicense" ]
null
null
null
module Brain class Decision attr_reader :up, :down, :left, :right def initialize( up:, down:, left:, right: ) @up = up @down = down @left = left @right = right end end end
12.736842
41
0.483471
5c976af14cb37f8eafa37143b000f380b09e445d
1,300
h
C
include/Mesh.h
LamWS/ClothSimulation
008b24fa96005cbe7ccae27a765d19e5f68a3ef2
[ "MIT" ]
5
2021-11-10T08:39:34.000Z
2022-03-06T10:21:49.000Z
include/Mesh.h
LamWS/ClothSimulation
008b24fa96005cbe7ccae27a765d19e5f68a3ef2
[ "MIT" ]
null
null
null
include/Mesh.h
LamWS/ClothSimulation
008b24fa96005cbe7ccae27a765d19e5f68a3ef2
[ "MIT" ]
null
null
null
// // Created by lamws on 2021/9/1. // #ifndef CLOTHSIMULATION_MESH_H #define CLOTHSIMULATION_MESH_H #include <string> #include <vector> #include <set> #include <Eigen/Core> #include <Eigen/Sparse> #include <Eigen/Geometry> #include <fast_obj.h> #include "fstream" class Mesh { public: Mesh(const std::string &path); int triangles_cnt(); int vertices_cnt(); const Eigen::Vector3d &get_vertex(int index); std::vector<Eigen::Vector3d> get_vertices(); std::vector<Eigen::Vector3i> get_triangles(); const std::vector<Eigen::Vector2i> &get_edges(); std::vector<Eigen::Vector3d> get_rest_vertices(); void set_vertex(int index, Eigen::Vector3d value); Eigen::Vector3i get_triangle(int index); const std::vector<int> &get_adjacent_triangle_indices(int index); const Eigen::Matrix<double, 6, 1> &get_triangle_uv(int index); const std::map<int,int>& get_sewing_map(); private: std::vector<Eigen::Vector3d> vertices; std::vector<Eigen::Matrix<double, 6, 1>> triangle_uv; std::vector<Eigen::Vector3d> origin_vertices; std::vector<Eigen::Vector3i> triangles; std::vector<std::vector<int>> adjacent_triangles; std::vector<Eigen::Vector2i> edges; std::map<int, int> sewing_points; }; #endif //CLOTHSIMULATION_MESH_H
22.413793
69
0.702308
5819fdf06c38ffe59065098a575b677692038662
7,076
sql
SQL
database/hktool.sql
pavanpawar4591/AWS-House-Keeping-Tool
f03b5f22c57ac4fc6c51dd63ad0ccf78cd2a0ee2
[ "Apache-2.0" ]
null
null
null
database/hktool.sql
pavanpawar4591/AWS-House-Keeping-Tool
f03b5f22c57ac4fc6c51dd63ad0ccf78cd2a0ee2
[ "Apache-2.0" ]
11
2017-04-12T04:58:03.000Z
2017-10-04T11:51:31.000Z
database/hktool.sql
pavanpawar4591/AWS-House-Keeping-Tool
f03b5f22c57ac4fc6c51dd63ad0ccf78cd2a0ee2
[ "Apache-2.0" ]
1
2021-11-24T07:47:43.000Z
2021-11-24T07:47:43.000Z
-- MySQL dump 10.13 Distrib 5.7.14, for Win64 (x86_64) -- -- Host: localhost Database: hktool -- ------------------------------------------------------ -- Server version 5.7.14 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `account` -- DROP TABLE IF EXISTS `account`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `account` ( `account_id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Account_ID', `created_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Date of creation', `created_by` varchar(40) NOT NULL COMMENT 'Created_by', `updated_on` timestamp NULL DEFAULT NULL COMMENT 'Updated_on', `updated_by` varchar(40) DEFAULT NULL COMMENT 'updated_by', `hsps_id` varchar(50) DEFAULT NULL COMMENT 'HSPS ID', `project_expire_date` timestamp NULL DEFAULT NULL COMMENT 'Project_expire_date', `free_trial_expire_date` timestamp NULL DEFAULT NULL COMMENT 'Free_trial_expire_date', `AWS_account_owner_name` varchar(50) DEFAULT NULL COMMENT 'AWS_Account_Owner_name', `hsps_expire_date` timestamp NULL DEFAULT NULL COMMENT 'HSPS_expire_date', `email_id_of_owner` varchar(50) NOT NULL COMMENT 'Email_ID_of_Owner_Account', `project_name` varchar(100) DEFAULT NULL COMMENT 'Project_name', `project_id` varchar(50) DEFAULT NULL COMMENT 'Project_ID', `account_type` varchar(20) NOT NULL COMMENT 'Account_Type', `hsps_description` varchar(250) DEFAULT NULL COMMENT 'HSPS_description', `business_unit` varchar(20) DEFAULT NULL COMMENT 'Business_Unit', `AWS_account_number` varchar(20) NOT NULL COMMENT 'AWS_Account_Number', `AWS_account_alias` varchar(40) DEFAULT NULL COMMENT 'AWS_Account_Alias', `AWS_access_key` varchar(100) DEFAULT NULL COMMENT 'AWS_Access_Key', `AWS_secret_key` varchar(100) DEFAULT NULL COMMENT 'AWS_Secret_Key', `AWS_access_key_XXXX` varchar(45) DEFAULT NULL, `AWS_secret_key_XXXX` varchar(45) DEFAULT NULL, PRIMARY KEY (`account_id`), UNIQUE KEY `account_id_UNIQUE` (`account_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `account` -- LOCK TABLES `account` WRITE; /*!40000 ALTER TABLE `account` DISABLE KEYS */; /*!40000 ALTER TABLE `account` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `account_user_association` -- DROP TABLE IF EXISTS `account_user_association`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `account_user_association` ( `uid` int(10) unsigned NOT NULL AUTO_INCREMENT, `account_id` int(11) unsigned NOT NULL, `is_active` bit(1) NOT NULL, UNIQUE KEY `account_id_UNIQUE` (`account_id`), UNIQUE KEY `uid_UNIQUE` (`uid`), CONSTRAINT `account_id` FOREIGN KEY (`account_id`) REFERENCES `account` (`account_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `user_id` FOREIGN KEY (`uid`) REFERENCES `user` (`uid`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `account_user_association` -- LOCK TABLES `account_user_association` WRITE; /*!40000 ALTER TABLE `account_user_association` DISABLE KEYS */; /*!40000 ALTER TABLE `account_user_association` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `role` -- DROP TABLE IF EXISTS `role`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `role` ( `role` int(11) NOT NULL COMMENT 'Role_ID', `role_name` varchar(40) NOT NULL COMMENT 'Role_Name', `active` int(11) NOT NULL COMMENT '1=active 0=inactive', PRIMARY KEY (`role`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `role` -- LOCK TABLES `role` WRITE; /*!40000 ALTER TABLE `role` DISABLE KEYS */; INSERT INTO `role` VALUES (1,'Super_Admin',1),(2,'Admin',1),(3,'User',1); /*!40000 ALTER TABLE `role` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `user` -- DROP TABLE IF EXISTS `user`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `user` ( `uid` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID of user', `user_name` varchar(40) NOT NULL COMMENT 'Username', `first_name` varchar(40) DEFAULT NULL COMMENT 'First name of user', `last_name` varchar(40) DEFAULT NULL COMMENT 'Last name of user', `password` varchar(40) NOT NULL COMMENT 'Password', `email` varchar(40) NOT NULL COMMENT 'Email of user', `created_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Date of creation', `role` int(11) NOT NULL COMMENT 'Role of user', `is_active` bit(1) NOT NULL COMMENT '1=active 0=inactive', `created_by` varchar(40) DEFAULT NULL, `updated_by` varchar(40) DEFAULT NULL, `updated_on` timestamp NULL DEFAULT NULL, PRIMARY KEY (`uid`), UNIQUE KEY `username_UNIQUE` (`user_name`), UNIQUE KEY `uid_UNIQUE` (`uid`), KEY `role_idx` (`role`), CONSTRAINT `role_fk` FOREIGN KEY (`role`) REFERENCES `role` (`role`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `user` -- LOCK TABLES `user` WRITE; /*!40000 ALTER TABLE `user` DISABLE KEYS */; INSERT INTO `user` VALUES (1,'pavan','pavan','pawar','password','pavanpawar4591@gmail.com','2016-12-31 13:00:01',1,'','sa','s','2007-12-31 13:00:01'),(2,'pp',NULL,NULL,'','','2017-02-10 13:00:00',1,'',' ','','2017-02-10 13:00:00'),(7,'aaaa',NULL,NULL,'','','2017-02-10 13:00:00',1,'',' ','','2017-02-10 13:00:00'),(8,'admin','Admin','admin','Admin@123','admin@domain.com','2017-06-20 18:30:00',1,'','pavan','pavan','2017-06-20 18:30:00'); /*!40000 ALTER TABLE `user` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2017-09-18 21:17:35
43.679012
442
0.723431
95e113803e44b214bf794fe59f49c0399ddc0e4c
79
css
CSS
test/fixtures/css-http-dep/index.out.css
rlugojr/duo
a01cfa748619c963d5c9824273db2e7390c92eb2
[ "Unlicense" ]
1,257
2015-01-01T05:29:33.000Z
2021-11-06T13:26:22.000Z
test/fixtures/css-http-dep/index.out.css
ioncodes/duo
a01cfa748619c963d5c9824273db2e7390c92eb2
[ "Unlicense" ]
117
2015-01-05T19:56:54.000Z
2018-08-01T19:11:28.000Z
test/fixtures/css-http-dep/index.out.css
ioncodes/duo
a01cfa748619c963d5c9824273db2e7390c92eb2
[ "Unlicense" ]
105
2015-01-07T08:36:21.000Z
2021-03-26T13:45:34.000Z
@import "http://github.com"; body { background: url('http://google.com'); }
13.166667
39
0.620253
1319686955ba09230de5afe821a9026e67b22c02
1,248
h
C
components/enhanced_bookmarks/android/enhanced_bookmarks_bridge.h
tmpsantos/chromium
802d4aeeb33af25c01ee5994037bbf14086d4ac0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/enhanced_bookmarks/android/enhanced_bookmarks_bridge.h
tmpsantos/chromium
802d4aeeb33af25c01ee5994037bbf14086d4ac0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/enhanced_bookmarks/android/enhanced_bookmarks_bridge.h
tmpsantos/chromium
802d4aeeb33af25c01ee5994037bbf14086d4ac0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:23:37.000Z
2020-11-04T07:23:37.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_ENHANCED_BOOKMARKS_ANDROID_ENHANCED_BOOKMARKS_BRIDGE_H_ #define COMPONENTS_ENHANCED_BOOKMARKS_ANDROID_ENHANCED_BOOKMARKS_BRIDGE_H_ #include "base/android/jni_android.h" class BookmarkModel; namespace enhanced_bookmarks { namespace android { class EnhancedBookmarksBridge { public: EnhancedBookmarksBridge(JNIEnv* env, jobject obj, jlong bookmark_model_ptr); void Destroy(JNIEnv*, jobject); base::android::ScopedJavaLocalRef<jstring> GetBookmarkDescription( JNIEnv* env, jobject obj, jlong id, jint type); void SetBookmarkDescription(JNIEnv* env, jobject obj, jlong id, jint type, jstring description); private: BookmarkModel* bookmark_model_; // weak DISALLOW_COPY_AND_ASSIGN(EnhancedBookmarksBridge); }; bool RegisterEnhancedBookmarksBridge(JNIEnv* env); } // namespace android } // namespace enhanced_bookmarks #endif // COMPONENTS_ENHANCED_BOOKMARKS_ANDROID_ENHANCED_BOOKMARKS_BRIDGE_H_
28.363636
78
0.71875
f016663abaaca777953a37d629e3e996752fe3d9
1,438
js
JavaScript
test/modules/util.js
stalniy/cytoscape.js
67d18c735a8c6b9a45974cf7cfff53ce4c6dcba2
[ "MIT" ]
2
2019-06-12T09:46:40.000Z
2020-01-19T00:51:23.000Z
test/modules/util.js
stalniy/cytoscape.js
67d18c735a8c6b9a45974cf7cfff53ce4c6dcba2
[ "MIT" ]
null
null
null
test/modules/util.js
stalniy/cytoscape.js
67d18c735a8c6b9a45974cf7cfff53ce4c6dcba2
[ "MIT" ]
null
null
null
import { expect } from 'chai'; import { hashString, hashInt, hashIntsArray } from '../../src/util'; describe('util', function(){ describe('hash', function(){ it('gives same result with seed for one-char strings', function(){ var h1 = hashString('a'); var h2 = hashString('b', h1); var h3 = hashString('ab'); expect(h2).to.equal(h3); }); it('gives same result with seed for multi-char strings', function(){ var h1 = hashString('foo'); var h2 = hashString('bar', h1); var h3 = hashString('foobar'); expect(h2).to.equal(h3); }); it('gives different results for strings of opposite order', function(){ var h1 = hashString('foobar'); var h2 = hashString('raboof'); expect(h1).to.not.equal(h2); }); // usecase : separate hashes can be joined it('gives same result by hashing individual ints', function(){ var a = 846302; var b = 466025; var h1 = hashInt(a); var h2 = hashInt(b, h1); var h3 = hashIntsArray([a, b]); expect(h2).to.equal(h3); }); // main usecase is hashing ascii strings for style properties it('hash is unique per ascii char', function(){ var min = 0; var max = 127; var hashes = {}; for( var i = min; i <= max; i++ ){ var h = hashInt(i); expect( hashes[h] ).to.not.exist; hashes[h] = true; } }); }); });
23.966667
75
0.560501
5a7579f2f300cb7c1a1dcb275658951f8e4f84b3
594
sql
SQL
db/views/audit_master.sql
anykeyh/cocca-api
61b06d38f5556cd7bd8fb1baab4d35bbce984393
[ "Apache-2.0" ]
null
null
null
db/views/audit_master.sql
anykeyh/cocca-api
61b06d38f5556cd7bd8fb1baab4d35bbce984393
[ "Apache-2.0" ]
null
null
null
db/views/audit_master.sql
anykeyh/cocca-api
61b06d38f5556cd7bd8fb1baab4d35bbce984393
[ "Apache-2.0" ]
2
2018-08-10T22:08:47.000Z
2020-10-28T18:52:10.000Z
DROP VIEW IF EXISTS audit_master; DROP TABLE IF EXISTS audit_master; CREATE VIEW audit_master AS SELECT audit_transaction, audit_user, audit_login, audit_time, audit_ip FROM dblink('dbname=registry user=coccauser password=coccauser', ' SELECT audit_transaction, audit_user, audit_login, audit_time, audit_ip FROM audit.master WHERE audit_time > (current_timestamp - interval ''1'' day) ') cocca ( audit_transaction BIGINT, audit_user VARCHAR(16), audit_login VARCHAR(16), audit_time TIMESTAMP, audit_ip VARCHAR(255) );
22.846154
66
0.710438
95bf303a35d58da299c6b0ef27e34f83d2a91583
972
css
CSS
src/js/components/bui-weex/css/actionsheet.css
laohanW/LivePlayer
75cc2392b0fe01b744f6f6621ecb3444a840f06f
[ "MIT" ]
null
null
null
src/js/components/bui-weex/css/actionsheet.css
laohanW/LivePlayer
75cc2392b0fe01b744f6f6621ecb3444a840f06f
[ "MIT" ]
null
null
null
src/js/components/bui-weex/css/actionsheet.css
laohanW/LivePlayer
75cc2392b0fe01b744f6f6621ecb3444a840f06f
[ "MIT" ]
1
2020-06-10T02:09:24.000Z
2020-06-10T02:09:24.000Z
.bui-actionsheet-box { position: fixed; left: 0px; right: 0px; margin: 50px; margin-top: 0px; flex-direction: column; overflow: hidden; } .bui-actionsheet-top { border-radius: 10px; overflow: hidden; background-color: #ffffff; } .bui-actionsheet-bottom { margin-top: 15px; } .bui-actionsheet-title { padding: 30px; text-align: center; font-size: 28px; color: #9ea7b4; } .bui-actionsheet-content { flex-direction: column; flex: 1; } .bui-actionsheet-list { border-top-width: 1px; border-top-color: #d7dde4; padding: 30px; text-align: center; font-size: 34px; color: #3399ff; } .bui-actionsheet-list:active { background-color: #f5f5f5; } .bui-actionsheet-btn { font-size: 34px; color: #3399ff; font-weight: bold; background-color: #ffffff; padding: 30px; text-align: center; border-radius: 10px; } .bui-actionsheet-btn:active { background-color: #f5f5f5; } /*# sourceMappingURL=actionsheet.css.map */
18.692308
43
0.675926
b175298db68309e77e8083c0c0084297e11be8ef
706
css
CSS
web2py/applications/ControleEstoque/static/css/padrao_Nav.css
GuizaoBR/Controle-Estoque
b4d7e3c665a14ea77224fa448aaf7e3d4d6fe4ed
[ "Apache-2.0" ]
null
null
null
web2py/applications/ControleEstoque/static/css/padrao_Nav.css
GuizaoBR/Controle-Estoque
b4d7e3c665a14ea77224fa448aaf7e3d4d6fe4ed
[ "Apache-2.0" ]
null
null
null
web2py/applications/ControleEstoque/static/css/padrao_Nav.css
GuizaoBR/Controle-Estoque
b4d7e3c665a14ea77224fa448aaf7e3d4d6fe4ed
[ "Apache-2.0" ]
null
null
null
@font-face{ font-family: 'Font_Nav'; src: url("../fonts/tartinescriptregular.ttf"); } @font-face{ font-family: 'Font_Prod'; src: url("../fonts/CANDARA.TTF"); } body{ background-image: url('../imagens/CacauBack.png') ; } /* MENU */ .BarraNav{ font-family: 'Font_Nav'; font-size: 30px; margin-left: 35%; text-decoration: none; border-radius:10px; position: relative; margin-top: -150px; width: 60%; } .navCacau{ text-decoration: none; color: #522916f5; padding: 15px; height: 100px; font-style: normal;} #nav .navCacau:hover{ color: #75402880; transition: 400ms; }
17.219512
56
0.558074
134fb76a4559c783cb63ef7a5afc2d5a06f9c2a1
227
h
C
Pods/Headers/Public/XA_Category/CTMediator+XA.h
linkking/XMainProject
a95737cb810dc6c39e19e182f21a23a80031db97
[ "MIT" ]
null
null
null
Pods/Headers/Public/XA_Category/CTMediator+XA.h
linkking/XMainProject
a95737cb810dc6c39e19e182f21a23a80031db97
[ "MIT" ]
null
null
null
Pods/Headers/Public/XA_Category/CTMediator+XA.h
linkking/XMainProject
a95737cb810dc6c39e19e182f21a23a80031db97
[ "MIT" ]
null
null
null
// // CTMediator+XA.h // XA_Category // // Created by zhulei on 2018/4/26. // Copyright © 2018年 zs. All rights reserved. // #import "CTMediator.h" @interface CTMediator (XA) -(UIViewController *)XA_viewController; @end
14.1875
46
0.682819
a1802b735b79a33a07b587b7a14a15136031d8dd
16,409
h
C
include/seqan/align/gaps_iterator_base.h
h-2/SeqAnHTS
a1923897fe1bd359136cfd09f0d4c245978c0fce
[ "BSD-3-Clause" ]
7
2017-04-06T12:36:23.000Z
2021-06-07T11:11:23.000Z
include/seqan/align/gaps_iterator_base.h
DecodeGenetics/SeqAnHTS
957e8586bf12d49310cbfa7958ad4e6c9402f7a3
[ "BSD-3-Clause" ]
3
2017-11-22T10:02:27.000Z
2022-02-21T21:56:03.000Z
include/seqan/align/gaps_iterator_base.h
DecodeGenetics/SeqAnHTS
957e8586bf12d49310cbfa7958ad4e6c9402f7a3
[ "BSD-3-Clause" ]
2
2015-06-17T11:44:36.000Z
2015-11-20T13:09:16.000Z
// ========================================================================== // SeqAn - The Library for Sequence Analysis // ========================================================================== // Copyright (c) 2006-2015, Knut Reinert, FU Berlin // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // * Neither the name of Knut Reinert or the FU Berlin nor the names of // its contributors may be used to endorse or promote products derived // from this software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL KNUT REINERT OR THE FU BERLIN BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH // DAMAGE. // // ========================================================================== // Author: Andreas Gogol-Doering <andreas.doering@mdc-berlin.de> // Author: Manuel Holtgrewe <manuel.holtgrewe@fu-berlin.de> // ========================================================================== // TODO(holtgrew): Switch to Host interface. #ifndef SEQAN_INCLUDE_SEQAN_ALIGN_GAPS_ITERATOR_BASE_H_ #define SEQAN_INCLUDE_SEQAN_ALIGN_GAPS_ITERATOR_BASE_H_ namespace seqan { // ============================================================================ // Forwards // ============================================================================ // Internally used tag for creating iterators at the begin of containers. struct Begin__; typedef Tag<Begin__> Begin_; // Internally used tag for creating iterators at the end of containers. struct End__; typedef Tag<End__> End_; // Internally used tag for creating iterators inside of containers. struct Position__; typedef Tag<Position__> Position_; // ============================================================================ // Tags, Classes, Enums // ============================================================================ /*! * @class GapsIterator * @implements RandomAccessIteratorConcept * * @brief Iterator class for @link Gaps @endlink. * * @signature template <typename TGaps, typename TSpec> * class Iter<TGaps, GapsIterator<TSpec> >; * * @tparam TGaps The @link Gaps @endlink object for the iterator. * @tparam TSpec The specializing tag. */ template <typename TSpec> struct GapsIterator; // ============================================================================ // Metafunctions // ============================================================================ // ---------------------------------------------------------------------------- // Metafunction Position // ---------------------------------------------------------------------------- template <typename TGaps, typename TSpec> struct Position<Iter<TGaps, GapsIterator<TSpec> > > : Position<TGaps> {}; template <typename TGaps, typename TSpec> struct Position<Iter<TGaps, GapsIterator<TSpec> > const> : Position<Iter<TGaps, GapsIterator<TSpec> > > {}; // ---------------------------------------------------------------------------- // Metafunction Difference // ---------------------------------------------------------------------------- template <typename TGaps, typename TSpec> struct Difference<Iter<TGaps, GapsIterator<TSpec> > > : Difference<TGaps> {}; template <typename TGaps, typename TSpec> struct Difference<Iter<TGaps, GapsIterator<TSpec> > const> : Difference<Iter<TGaps, GapsIterator<TSpec> > > {}; // ---------------------------------------------------------------------------- // Metafunction Source // ---------------------------------------------------------------------------- // TODO(holtgrew): Should this be Host? or SourceIterator? template <typename TGaps, typename TSpec> struct Source<Iter<TGaps, GapsIterator<TSpec> > > { typedef typename Source<TGaps>::Type TSource_; typedef typename Iterator<TSource_, Rooted>::Type Type; }; template <typename TGaps, typename TSpec> struct Source<Iter<TGaps, GapsIterator<TSpec> > const> { typedef typename Source<TGaps>::Type TSource_; typedef typename Iterator<TSource_, Rooted>::Type Type; }; // ---------------------------------------------------------------------------- // Metafunction Value // ---------------------------------------------------------------------------- template <typename TGaps, typename TSpec> struct Value<Iter<TGaps, GapsIterator<TSpec> > > { typedef typename Source<Iter<TGaps, GapsIterator<TSpec> > >::Type TSource_; typedef typename Value<TSource_>::Type TSourceValue_; //typedef TSourceValue_ Type; // TODO(holtgrew): We really want gapped values here but there are issues... typedef typename GappedValueType<TSourceValue_>::Type Type; }; template <typename TGaps, typename TSpec> struct Value<Iter<TGaps, GapsIterator<TSpec> > const> : Value<Iter<TGaps, GapsIterator<TSpec> > > {}; // ---------------------------------------------------------------------------- // Metafunction GetValue // ---------------------------------------------------------------------------- template <typename TGaps, typename TSpec> struct GetValue<Iter<TGaps, GapsIterator<TSpec> > > : Value<Iter<TGaps, GapsIterator<TSpec> > > { }; template <typename TGaps, typename TSpec> struct GetValue<Iter<TGaps, GapsIterator<TSpec> > const> : Value<Iter<TGaps, GapsIterator<TSpec> > const> { }; // ---------------------------------------------------------------------------- // Metafunction Reference // ---------------------------------------------------------------------------- template <typename TGaps, typename TSpec> struct Reference<Iter<TGaps, GapsIterator<TSpec> > > { typedef Iter<TGaps, GapsIterator<TSpec> > TIterator_; typedef Proxy<IteratorProxy<TIterator_> > Type; }; template <typename TGaps, typename TSpec> struct Reference<Iter<TGaps, GapsIterator<TSpec> > const> { typedef Iter<TGaps, GapsIterator<TSpec> const > TIterator_; typedef Proxy<IteratorProxy<TIterator_> > Type; }; // ============================================================================ // Functions // ============================================================================ // ---------------------------------------------------------------------------- // Function operator++ // ---------------------------------------------------------------------------- // TODO(holtgrew): Could be general forward template <typename TGaps, typename TSpec> inline Iter<TGaps, GapsIterator<TSpec> > & operator++(Iter<TGaps, GapsIterator<TSpec> > & it) { goNext(it); return it; } template <typename TGaps, typename TSpec> inline Iter<TGaps, GapsIterator<TSpec> > operator++(Iter<TGaps, GapsIterator<TSpec> > & it, int) { Iter<TGaps, GapsIterator<TSpec> > ret = it; goNext(it); return ret; } // ---------------------------------------------------------------------------- // Function operator-- // ---------------------------------------------------------------------------- template <typename TGaps, typename TSpec> inline Iter<TGaps, GapsIterator<TSpec> > & operator--(Iter<TGaps, GapsIterator<TSpec> > & it) { goPrevious(it); return it; } template <typename TGaps, typename TSpec> inline Iter<TGaps, GapsIterator<TSpec> > operator--(Iter<TGaps, GapsIterator<TSpec> > & it, int) { Iter<TGaps, GapsIterator<TSpec> > ret = it; goPrevious(it); return ret; } // ---------------------------------------------------------------------------- // Function insertGap() // ---------------------------------------------------------------------------- /*! * @fn GapsIterator#insertGap * @brief Insert gap at the current position. * * @signature void insertGap(it); * * @param[in,out] it The iterator to insert gaps at. */ // Forward to insertGaps() which has to be implemented by the specific gap // iterator. template <typename TGaps, typename TSpec> inline void insertGap(Iter<TGaps, GapsIterator<TSpec> > & it) { insertGaps(it, 1); } // ---------------------------------------------------------------------------- // Function isCharacter() // ---------------------------------------------------------------------------- /*! * @fn GapsIterator#isCharacter * @brief Query an iterator for being at a character * * @signature bool isCharacter(it); * * @param[in] it Iterator to query for pointing at a character. * * @return bool <tt>true</tt> if <tt>it</tt> is at a character and <tt>false</tt> otherwise. */ template <typename TGaps, typename TSpec> bool isCharacter(Iter<TGaps, GapsIterator<TSpec> > const & it) { return !isGap(it); } // ---------------------------------------------------------------------------- // Function countCharacters() // ---------------------------------------------------------------------------- /*! * @fn GapsIterator#countCharacters * @brief Count characters at iterator. * * @signature TSize countCharacters(it); * * @param[in] it Iterator for counting characters at. * * @return TSize Number of characters. */ // ---------------------------------------------------------------------------- // Function isGap() // ---------------------------------------------------------------------------- /*! * @fn GapsIterator#isGap * @brief Query an iterator for being at a gap * * @signature bool isGap(it); * * @param[in] it Iterator to query for pointing at a gap. * * @return bool <tt>true</tt> if <tt>it</tt> is at a gap and <tt>false</tt> otherwise. */ // ---------------------------------------------------------------------------- // Function countGaps() // ---------------------------------------------------------------------------- /*! * @fn GapsIterator#countGaps * @brief Count gaps at iterator. * * @signature TSize countGaps(it); * * @param[in] it Iterator for counting gaps at. * * @return TSize Number of gaps. */ // ---------------------------------------------------------------------------- // Function insertGaps() // ---------------------------------------------------------------------------- /*! * @fn GapsIterator#insertGaps * @brief Insert gaps at the current position. * * @signature void insertGaps(it, num); * * @param[in,out] it Remove gap at the given position (if any). * @param[in] num Number of gaps to insert. */ // ---------------------------------------------------------------------------- // Function removeGap() // ---------------------------------------------------------------------------- /*! * @fn GapsIterator#removeGap * @brief Insert gap at the current position. * * @signature TSize removeGap(it); * * @param[in,out] it Remove gap at the given position (if any). * * @return TSize Number of removed gaps. */ // Forward to removeGaps() which has to be implemented by the specific gap // iterator. template <typename TGaps, typename TSpec> inline typename Size<TGaps>::Type removeGap(Iter<TGaps, GapsIterator<TSpec> > & it) { return removeGaps(it, 1); } // ---------------------------------------------------------------------------- // Function removeGaps() // ---------------------------------------------------------------------------- /*! * @fn GapsIterator#removeGaps * @brief Remove gaps from the current position. * * @signature TSize removeGaps(it, num); * * @param[in,out] it Remove gap at the given position (if any). * @param[in] num Number of gaps to remove. * * @return TSize Number of removed gaps. */ // ---------------------------------------------------------------------------- // Function assignValue() // ---------------------------------------------------------------------------- // TODO(holtgrew): Const consistency problems. template <typename TGaps, typename TSpec, typename TValue> inline void assignValue(Iter<TGaps, GapsIterator<TSpec> > & me, TValue const & val) { if (!isGap(me)) { assignValue(source(me), val); } // TODO(holtgrew): Else, inserting gaps is problematic... } template <typename TGaps, typename TSpec, typename TValue> inline void assignValue(Iter<TGaps, GapsIterator<TSpec> > const & me, TValue const & val) { if (!isGap(me)) { assignValue(source(me), val); } } // ---------------------------------------------------------------------------- // Function container() // ---------------------------------------------------------------------------- template <typename TGaps, typename TSpec> inline TGaps & container(Iter<TGaps, GapsIterator<TSpec> > & me) { return *me._container; } template <typename TGaps, typename TSpec> inline TGaps & container(Iter<TGaps, GapsIterator<TSpec> > const & me) { return *me._container; } // ---------------------------------------------------------------------------- // Function source // ---------------------------------------------------------------------------- // Returns host iterator. // TODO(holtgrew): Non-const version is superflous. template <typename TGaps, typename TSpec> inline typename Source<Iter<TGaps, GapsIterator<TSpec> > >::Type /*returns copy*/ source(Iter<TGaps, GapsIterator<TSpec> > & it) { return iter(container(it), toSourcePosition(container(it), position(it))); } template <typename TGaps, typename TSpec> inline typename Source<Iter<TGaps, GapsIterator<TSpec> > const>::Type /*returns copy*/ source(Iter<TGaps, GapsIterator<TSpec> > const & it) { return iter(container(source(it)), toSourcePosition(container(it), position(it))); } // TODO(holtgrew): setSource? setContainer? // ---------------------------------------------------------------------------- // Function operator+= // ---------------------------------------------------------------------------- template <typename TGaps, typename TSpec, typename TDiff> inline Iter<TGaps, GapsIterator<TSpec> > & operator+=(Iter<TGaps, GapsIterator<TSpec> > & it, TDiff diff) { goFurther(it, diff); return it; } // ---------------------------------------------------------------------------- // Function operator-= // ---------------------------------------------------------------------------- template <typename TGaps, typename TSpec, typename TDiff> inline Iter<TGaps, GapsIterator<TSpec> > & operator-=(Iter<TGaps, GapsIterator<TSpec> > & it, TDiff diff) { goFurther(it, -(__int64)(diff)); return it; } // ---------------------------------------------------------------------------- // Function goFurther // ---------------------------------------------------------------------------- // TODO(holtgrew): Implementation could be faster. template <typename TGaps, typename TSpec, typename TDifference> inline void goFurther(Iter<TGaps, GapsIterator<TSpec> > & it, TDifference steps) { typedef typename MakeSigned<TDifference>::Type TSignedDifference; if (steps > TDifference(0)) for (; steps; --steps) goNext(it); else for (; -static_cast<TSignedDifference>(steps); ++steps) goPrevious(it); } // ---------------------------------------------------------------------------- // Function isClipped() // ---------------------------------------------------------------------------- template <typename TGaps, typename TSpec> inline bool isClipped(Iter<TGaps, GapsIterator<TSpec> > const &) { return false; } } // namespace seqan #endif // SEQAN_INCLUDE_SEQAN_ALIGN_GAPS_ITERATOR_BASE_H_
32.687251
92
0.51033
c589fccf332a279e8e558a81a69b3d63fb9df7a3
963
sql
SQL
db/migrations/20191102100059_upgrade_activity_log.sql
shardbox/shardbox-core
f6feed28afe49bccf7b018c7dc46940c15f00071
[ "MIT" ]
13
2019-05-13T13:28:58.000Z
2021-08-17T05:47:38.000Z
db/migrations/20191102100059_upgrade_activity_log.sql
shardbox/shardbox-core
f6feed28afe49bccf7b018c7dc46940c15f00071
[ "MIT" ]
2
2020-05-16T13:14:22.000Z
2021-06-24T12:03:57.000Z
db/migrations/20191102100059_upgrade_activity_log.sql
shardbox/shardbox-core
f6feed28afe49bccf7b018c7dc46940c15f00071
[ "MIT" ]
null
null
null
-- migrate:up ALTER TABLE sync_log RENAME TO activity_log; ALTER TABLE activity_log ADD COLUMN shard_id bigint REFERENCES shards(id), ALTER COLUMN repo_id DROP NOT NULL; ALTER SEQUENCE sync_log_id_seq RENAME TO activity_log_id_seq; ALTER TABLE activity_log RENAME CONSTRAINT sync_log_pkey TO activity_log_pkey; ALTER TABLE activity_log RENAME CONSTRAINT sync_log_repo_id_fkey TO activity_log_repo_id_fkey; UPDATE activity_log SET event = 'sync_repo:' || event ; -- migrate:down UPDATE activity_log SET event = substring(event FROM 11) WHERE starts_with(event, 'sync_repo:') ; ALTER TABLE activity_log RENAME CONSTRAINT activity_log_repo_id_fkey TO sync_log_repo_id_fkey; ALTER TABLE activity_log RENAME CONSTRAINT activity_log_pkey TO sync_log_pkey; ALTER SEQUENCE activity_log_id_seq RENAME TO sync_log_id_seq; ALTER TABLE activity_log ALTER COLUMN repo_id SET NOT NULL, DROP COLUMN shard_id; ALTER TABLE activity_log RENAME TO sync_log;
26.027027
94
0.824507
70c7d24cd7b9337953db42e205f92d665ca7b9ee
95
go
Go
content/methods/error-handling.go
brunoborges/golang-vs-java
28d39b75bf8ce03fb34099844b00c6d8559383c3
[ "MIT" ]
19
2020-01-28T20:08:18.000Z
2022-03-19T15:17:54.000Z
content/methods/error-handling.go
brunoborges/golang-vs-java
28d39b75bf8ce03fb34099844b00c6d8559383c3
[ "MIT" ]
1
2020-02-06T19:05:55.000Z
2020-02-06T19:05:55.000Z
content/methods/error-handling.go
brunoborges/golang-vs-java
28d39b75bf8ce03fb34099844b00c6d8559383c3
[ "MIT" ]
6
2020-01-30T00:19:31.000Z
2020-07-22T04:16:59.000Z
i, err := strconv.Atoi("96") if err != nil { fmt.Printf("couldn't convert: %v", err) return }
19
40
0.610526
da750f0688ec44ff5a0a72c6d3e2df6795b47e0f
90,871
sql
SQL
src/main/resources/db/migration/V18__Data_Load_Project.sql
zhufeilong/c4sg-services
6a874753d16674bbf070f714a6bf91d7cb06b245
[ "MIT" ]
25
2017-03-16T23:38:46.000Z
2020-12-10T02:03:57.000Z
src/main/resources/db/migration/V18__Data_Load_Project.sql
fumba/c4sg-services
6a874753d16674bbf070f714a6bf91d7cb06b245
[ "MIT" ]
302
2017-03-14T20:06:30.000Z
2018-05-24T18:13:50.000Z
src/main/resources/db/migration/V18__Data_Load_Project.sql
fumba/c4sg-services
6a874753d16674bbf070f714a6bf91d7cb06b245
[ "MIT" ]
166
2017-03-12T19:32:54.000Z
2019-05-21T17:58:57.000Z
-- Test data load: Project INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('0Q0rhZ^s0rt&^zgN$cM$lgGlNRV5X#20NgGsz59N6@PKt7TCe@Aw96B!0KLw3!CeojhNZUdY3^Xry#ZF^hW$qC', 'LNiVpIKbnzk0V5KrNJs0f0qdS5yR3FVTiH1aAoxrkK3^GPRZEufN9XqBl52j9Z8PLyYc3yXna1WB6sD3kGcFp7KrgwWvldhsBkj8XDW6DYB81Vu!x&&zLzoDVv$DJq2%Ps&S8ubOR71yBCqr1#%mdON2$NjrGhscWEoEWJS3ThPExW1h4BCOsLP1M%Wr0R7yKVJ%dTCn9@A$&9B6L1m5MLQ0VmZYTqZ20g!Ib34h&dEyaS2DrPM8t1S^4z8X!KBP1yTOeZ!I%46y7h^3klv3KQE8u@EJ@dnkJVwJ&jnzV4ao#jYTA5BEdx4h!', 'jjgNPNRViSl31%$dGEec03S9VIP7aQ', 1, '4eEmsIauE0e2zHhiuJKx0fy8Y6%JKzDCP2ZNGibD1LuR!T98WZkB4UWVNwvlLxR5tJjxPAJaw7vuRNd4%VURd2x@c309UXYz!pn', 'Hoke04%nq3&iqnWK&YqaokLAznGf#Bro$AlwyC4%ADS00Xsy2W!x$', 'mKRMSuOrWIGlX1pat', 'HRyLAJ#7c6H@rXp&TOWhyTa$npBCwJKvKzupU^g2WnAl', 'dux2DtDB#VGCm07pGAragZs&bUxUsahWOGb75u5gY8EGQgI6@wN&!2wl1xWP#Q9QCQUM%0kbu', 'j', 'Te@bqZ#ti$M9X5DEmk7&U3&t#9!aBA', 'o0eh@DBYcmjU8C7', 'D8Wb9wPexgh^RZOc$RWWkK', 'Q') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('xQbko1^t%sZDeAw2tliZstBGbSg6s!o5#m&^3bYf0m@kkpBlpiftxnp3dB9DQY144UHZAx&hu3Z6zfl', '#M0K#EE%$Qx2kv8kWgwOJRYi^^tujz^fmnVbYq8e3@ENxe9DQRJ&V4CaUXL$09KsSgL%H$tv9hLPcaSPVWLzX^qiRKn1Lb4!gb@fzb$TncWDoU%J4$7k', 'BTWsb%FrQ$cSx1fB', 1, 'aJ8U!%MK$P5Qu6G7p70&d#s!pDl$szNuqC&YK2ydh@v1Ytmrq8a8I!KffeulIPgs1HoZ7OtnETOiwr2$g@CjoFSx', 'IvEbCyJ20f4ujJLTAWbqPVbx5Nc$4rVY&n6%QrfeFuqSYTGZFB5$kx0Ti67VlM%Ercu$CO38F%S', 'qFi6jnzmYCymiKKkqZZwSqLoKlXy$nnMMoZwUO2ougzG$', '3pUd4ZUI&@@s%w0pAeTH@ScwIXA2A', 's42U899i', 'Y', 'C!l4YtY&q9%ohbmBdoS79Vyo@JZfq$&PdZHCmSJEJYLi6JC#TD5u6FPNr$0dBHEu0eaoBQdsLdth0fhg7$tUYBJE9', 'qIu2', 'f8Yydq2pI', 'Z') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('CbLZ7FcRCFBCeGFURfar^@7pPZBrteSRsIo&LPntVyJzm#^Rt', 'yNQyI4k0d3SmnTR9DhG91ZOCwgE3T@R%Zmi3J9N@qF9p2blMBTryTsXG&c2qwgmjiUt0zNwtBLOrPnzk@Yx0yhawwJ3v7lt9hW7eOkcVl^%8KuXHJNvFPmS0J%zWJ1legF9ZgkDGLJKzk2S2SrSpWVp#46BQRmakIOX5k%qo0W@6IhLGbx4ge#psedVaQTVnypXCbNOV1te&@jjTq@Eji!5NotW79fFn1CEhq8uvQffRMpy#!2QVeB5Ej0dPXGLSVY^nL1rhw8z3Kj0^#!c7vQ8vx0%f@LE9At$Vq0gZGxn612!00eT$tEl4PzXL4bnRAqyfnbESJkx^s2uu6%6LZHM$8Y5YiBUu0CCHzKI^H1j96mIN5rF65IZZLC8v6My8w2VWvT#rk84YnCWRfnTX$OoxKK$%CcY@ybI4yThhwcR%E1B8MmeP!HaO', 'aSX^W8g9oa@Shs6BqP$r!J9Vge%80Y0@pb', 1, 'mJMuIpd@5TIogsShtxJ2OH089xa0r6RG0YsiLu0PHl0awIGD87', 'ToQMzEladdy^12e', 'y', 'x!rrx^IxXDYjoITR8NQ79VBtTa0tsgDFAPI!%ndA$VjGleGpeugjPvWIo%FlVd4G&hQF&!TQyeakB@7EBRd^&jX4!0B&PZMOQK', 'u1plHx', 'z', '7uX0R3&5GMrLL&nT0FzsAYj39AqZmyynQp!79O8IPK3@IQlq%Uwb&Z', '0UYgI', '8c4#l6gKhxYJWUoqod0@y1', 'n') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('K$lXX&I$#NEV&kN0eK8e9rSsy2Ibe7XM4$rknr', '1!ZHSAdMcoTJfHfh0ZnVnvNVXZQ3ZsST3edfy0H^U#&XjdwsM00v3SACc4R!QaURC&F0t0P&hp0rwWAIrnmPhmPgLH3upNdJ8djkEv^Mq0cKS96mA8xsU4yffolT%kGAbmihCe3#oGn895vBBM@gfSW3L44f0bP5AJxuWURk4B3cNq70ZQggqojpxfDxaUSbYiDvD1LO#FbLOImk%!np@yKao8$Ggi0gQXltTHDX5zlSbFIWZiAgwrhpEs7v55xIu@@Xm!xmmwkrbZ^Pv7O^P!RnF$Vqz7S&2JmgLSz&Rd!06WcLto0^nzZB0Dgp47TfKkoyCN4JDOcB&RgPQ9%a6UIzRR78B9#KqKlSwK9MjmqFlnCplxG@9H9WJWORG$8uTzaluvh50hXQt3cseOS3z0APAv8H#n5ne#STcf@WeA!YRpsGIkCZ05#S^rR^', '0IbzAxgqf^T$U^6I^a3y^GScd000URv#yEqhMgV#oh5D5dg$LltF#VJzW^kqwfC', 1, 'fEV$Nm79MBe80Z3kynX0K#XsN#tu8LG4dQ0oXoMiUL$%', 'kxt#47JXPkNseRZI01#a@fZKu9IDb&^ZSXH#1cHyqm0MIt9@pbK#2v$5FPw@v5LQlUHo0$GUpsQDeb20&Nc0l3', '!CmiMM3lIgpUTRRtBXBGLoWsMw#PYKuh%', 'EGm7Jou#^Tdce#QuvxfHBM!CfRku%T7XylcUdPZggtYGy', 'T7f^QNJ!YMRYY4&^aLmKZP$fMF&q8Vi4$4xmNUn9Wsk7tY0bgvM#aFT3a&iaOhR3tM@TDJg', 'n', 'wuVSVET0J9mZngtaOBbrDHhKO$cFDdnE%QmFlduC@88!6UDC9xzTaSgWca4YrdCuRP@D@VWz6FwvynD!pHw', 'Btbzws09CaNCK9', '0HjI&MBkRnVDayQNwPflP3usLq', 'u') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('Vef0p0ctMVYYO9DD^3r05@!20$cX$Ea7AYyGm09QA23qtXllW8sw3QU!ldXsUlx8KRmWG$fU@Iv3YyEiHX1VaL3R4E', 'iM$eA@NIAvMZZECrjQ2TGDS$jJ$^NBS1I6AdLgy$S#Pba8#D9IwjCyzM@&#Y^O#^JK', '3nM3h60KUGRaNpW45xu9DVjMlG%40QywY0zR$t2wxVYjdQaFYX!be7de4&OH8$J38jjDX58Hu^IO$&x', 1, '9XlhQ#jM$LrnBbVb!w', 'TPhNgvvi5ycaQRAcS2AHCoa$3G7C8TD5Y;qEE1jv0HuyfEQIHpY#$btDlK;!ah@7i0r9Ec1f', 'ONtT2m@wsM9#t@Ui@q@CWoAq%uoy3cWMRGMXYXE2^LVd^nMxkliGkEM', '2WD^rtfWt0Te%q3TZEa', 'sFPYdO@fqb@mKV013ChFoAcZhn@eUs0B', 'X', 'U7dLlG3%ZYiB2SW1Z@$YsWFX', 's^bpyTeRc$oCiP', '0q4ob1C', 'I') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('OU^ynZGd5SzovmhFZJmIdpcWdSuzqrcNE!w$du0JJBstx1E2!sKlkhMoH9jBu7TKFSRCWlquIJ^J%PobdrF%OXsmd8l', 'ueBOPVLg1bE2eKHi2qYQ7n2yW#OpuoN&kkcut#d@J@bf0#ycR3aNuk26b3YT6lTJuEN@wcW7b$7c', 'x!tBEqd&B&h7hp3rUm8yRreENEc3BxdW@pC%pBOrvu3NIp@v3R9Q4J15LVV0d0u3SrbYU52iFM3moy#n', 1, 'ouR;wiANNdl&&@gc3H^PW0oFLMc!wnv0KLmH@zmSxCZxOmoDL0F611yjsHKQ6HfpOakkDFhzjbgj', 'YnnGdmOp8Ib3djWCMXlzPC14&5Z6SWRe2CQlsws!Ho3J8Ar^KOvq%O7kliG8uIDiY%0Izz0ftsYqzo#uK!r4pq', 'uu&9Wju&RQR0APuaDf%BXNS%mbuAgzZ', 'Lc4z0q9%ZFPER!@ufw9tMuOJ2TJW@PhYjtVBpIDWUD%72pBiz502Q41gvrwdNi30mYkn4o5E', 'F8wGGJgqlVOe8esD6^ap8AAUQa5dda', 's', 'vZRWSU%l%dr8Q5#wi6sAa4EIWvE2caVl6IQzTfcmsSDmsI', 'hNY!&Fjqk8&mf@9To61', 'sK2!57oxhf', '3') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('vi@lxnodLgX7xJQ%lGjKW3V&@x#Z3YSiI0JztRAP$d^S3^GMNj@DQ!@st#r&swaTvDvn&fzB6AOI4', '#YeaP%eyOfg6yoAmv3amvyhNwRowfbhnp&v8dkrWf5O7O01bBdhEZNwsFyK^EOiB%ZMz!r9aHk6qR0^mQb@2@KuIy2zLGthxSb0Wuxi946%DH6HuAnerUgHjt30XZtBd3EEF09Yh!R%UMY1sq5ahdWKBAXrqwrgHAPA2x2urv$x2jUDC2EwUij&d@359NxRyAli%m^#oHPShnIgNjVoZ@tngQm8t$kK^b&y%AFe3J7bzxOWhSnWY8ZD7^1d0Wxrl5T6o0jbKGlfUgUQ1wXIEuTXirq^yrdcaLWuKIw8ybbhTIQWahbz&WTYi$T%PkKhr848qo5o0O9siA3GHBUfeKdlY^bNWypcy!XLEIvScTzhMqEO!bmdwt3N@Pfrbnzxo#@pJo2&523ra#FxquUJbbN4X0RVs3FWj1!Rwe4B9n8uqHB^0O1OAXlbeWzzEdC1sd892V1bpizV3hKeESKK2XksM', 'GLB$#R61cyr#lNVogmw9$aj@SzZ^BZMtliqwUlE4%fxNcXo%cy46fDF', 1, 'rZ7vkT^F3loA#PsbM', 'O@a#S3UFdOK$5cabbWQc@dhkHV%9mUrZRVZfg$lswcRXppinQDfl#xIzJ', '$6LiqmRbfk@#eznMOtr#hBFoQD6$i', 'DqJolR@qAEd32WI1SER@6h@2rwmyTgVZ3#mAB', '#T3X', '3', 'y8BjoyiilvH%VurDjPk&7y7vHBW72qD^!!Vqh%wqRJ15@ccxrwDEPyv&1', 'TIaf#ZI4#F0km', 'dux2BuooLCT^fqtVpbkJOFs5bh9', 'Y') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('gkUj1x^BdujwK8!sK', 'G91FbF2rWik6xjqBKr6snqH7eu9O$hWvR6R1fLIL&59hZnTciDf0D4tey!qNvjvDsWlqypk^QqshhodXI$up2VYMJCylk@fMGBW32rK!hggcHa%0Mz5yV5BE%FN#X&KWaNHMzaVfhB8REL5xEoGRVNXB0g5tLO3iDr1!AgHALVfj%Q0izenxoZ0tX6Mh5qAzxVdcJa%nN56&xDDggT!wqB!LqE3tBovjjMT8BUFog&RiS0$iyu1hw49##zS57ASnGSLRRvLsdAeqRGZpIQ@6ncUfDXc21AhNdsI0kay3QE4#WOakHrsmFL0t^vc!iIrKixco%Y5wgYmQ9YqWMYrG7@8yse1W%FR7cpJnASmPm#5Nogj75ndqgSDopL$PWeyI6eC', '3k!AIiaVq9b#@QGqpWrTj%', 1, '7tsH0KAZ22kXFyrz^BQT#vZhNoa$!5u3#PaOrQ&xq1OD6zgZqR&k5R%IAa!RyE^$Dg@WnK7eCis!Nkac8hB960^0S', 'gWe^T3R&WEqBNJRPTo3#', 'NIg2WXtiR4VwXomjGX#llFOMUvlraSPD%g9COQc!CDUlNfTrrzPb&!K8!AepB17^lgzFeRCWJ2PPRr&DI!0I2CD3D1IcBUoAvV0', 'dbH%!z%0@myAHNI1v$QJv1d8okWJei#qAXuNoL93GZIK0I@6My0ZgSgb^yEEJj#Hr70Qi#IQ', '3Doz^MqQ%Ni30OFiOX6Apm%1i2I0URWf4AOKTuAZd!menn%ha&cSKimNFng#4f#bX3^F&@v', 'm', 'w&PJ@4p&UE3CSd15ucEV%%0nkooifzZvw', 'NXLlYLg8ETxcq^W06', 'ozVqnCM7QjL', '5') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('jdQYM0MWCAUb%jpyTM7DmYvmQaDxUZdrn2KI', '2eJJiWApOTpSZZ^h1rOt7BCd1KlrU#FOhDKY!JFFSpsR82&ls50h!T7xJuIEA9CTcIzkd7noT8IO8S6&K0^O@nUuwcev105IUGDvyK8lOIvRap', 'nI!z0UYWV4V1YZmS2&!xdHw&ZI0iY2j6Um7o6Cy&PNHuW6tVlKOavXJNb@HxTF^SQOcAS%Lwx@Pw010Sdb%cj9G', 1, 'b@0c9PVK7!!3n&hKB8c', 'QWiHIRxH7fXrRyC', 'GNan2Yk9Fd2u5WwI3r4NBx^m3&K2HCwLcUxvCTO%%y2Cub2qqPO6yQb9PUj3dix3Onggn06fK', '3urYX$iHYUqctIoNOyKQL0^V7#R3qIxrr09Kn#t6@IFemaUF^joO&m42vCR#afgem^RtyLoS4EV', 'Qx#7b46jQr5#7dSay@LqpZoqp7i@CJrx1GM4VU&a0', 'C', 'xrxDHCK0I1X9BO5SaN60D@wxNlK@zgulTLYLSm#6NnpFW#i6@p^dwB8D#&XkZPGqDAlXWp', 'S&jeAYIS3E&9hfWh', 'QTwGd%O^1', 'F') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('Bq0swhZ33m5hjPx9mK4jAFbna', 'xBWnbHmuP7Up&KhMwro!dgWLGB8M#dTgK#qxd^ZH%kO2zk4Fi!M#TY7gMaNHyHzAjCL4jQxxyN$!yUalwys2yYuTU9S3hh8lRdO%F0lzrds5@dPZ&r00dw1s8Zfa^ufgEH8j5dNwc!HjuoYGpZ4X888kbkWNQaB%^', 'j5uTSLKUjWO^P0FR5po9wyU7Ro&M1oJkhYEB@6iatjUuum6Ma', 1, '30Rgn2sL^S#bsMYs4W^7cLbLpIthjAHZ6LeYTjD4WwvyYh2Hdj6AwwsoU6YLE', 't026Nw0GRh@gNeKT8GT4&t7rGiX3NrZvL52nWal0', 'liCeL90iQ4S6r&3GwtG$ZoovCHcl%$kIWl8UWrEO!uIUJFK3keLYAgR%!7J3#UkUQ0g', 'eQ5WY3uMAS%%00Ogs8FA0@POAS59U4znEa5uG2Idl;kM5SUCDn1IANk1ml6^lZwhFp^#iGqvreZBt2u0hCgMxM', 'RtjMCe0oY37MTZj$$CflVPDjX5NQHQQZmA0WlK!bdzKq', 'P', 'ijQ#vNF2X0Vwy;7ieoiOtHiJ47k5co8Ymxm0', 'F#8&lVsJ', 'C7Np@HVJwirFj$JHMEaQr7u', 'P') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('uktfr0zz5HP$MIJAB10HalK8UxdqvJ@GD1po330vRtE&%Iv7OCZRPMu9Gkr!#9', 'N9oLikwy1AXONLab27JZQ9XYC;OH6zHpbiViRVs6pQdWNr#9eXVwaIDhx82DOY@1enBrm!hifSppJ1WVSFseLadzMDRISWnyWcHpXATkFBfohdFwicR9uLl391MP9GwquYzvqw^hS7G9@Whx^kpF4d30XDfVU4b&5W@qK95Teynn5c8jQdRUfYmgUpETf9uO@G45@XUVeCpBWM5K', '5FinPczKDkAiC64Gtu83oZq$FKyRq8j@nj4VuCYXCgjyj#0ixfhGCrDbemP5LOiv0G@h1faXCgw7FYIJJej0WKn$NZG8UT', 1, 'yK1Ohg4r4k@vCmK5rwu8Fmh^B9G23Q5J9Qp^I#%26uG31hliuOqMoWebr2c8H1ojehlT%Mtwys2aNd%iUmE', 'pjjBdDFOVq45lVP#zlOk!c$T4uc5!kjt4@V^1h', 'UOK1^5qpdnk1W&', 'nwxPpzVA7G1r&R@gCFwa', 'V^4UYC&iD4uHHAR0Pk!9@n4&pss3vgyjKsIyLCHiBU3$$n0pwBWbhp0w@5tv9$UlCa%dZhlcJHE6k721h3C!qm2krbEG', 'b', '0NqSq#xeeJzHS@bT2rd5p!#f9ITMJM3xx&5DMfGlCnLNTqzx&SDN%3e7SaJP', 'CzF19SVE7TSZz2e', 'O9lMY9mztR^SA', 'Y') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('Rb8RgNIrKQ@5AbZDP#FT4LpiyM1WTCg!MOg26HwrJkcoru!E6dSGhpN6SWiBMSE8z1oS@Wx8ud9Px0', 'TsQERGIm1aggn#MYN5Wq57JfNJb4f', 'R^eOi1&mZo2QQEfQzxh2s0v^LQzY7uD64Cvh9csWNO%12mZIw!IC%@bGzg3z', 1, 'S#Md9^Hl5slKct#nXYqdS080pVPZ0!mFzzf7HLyyhmxB', 't5kLJGN1IRTCVjePbb5NaKdVNaoZ$vzDAXrJDufNYyXuj5Xeiya', 'ZnPYv^xgV4chf1%ZCaN#oVJTPBHk0Ftjc7IzIR8vPv3tKc33', 'Mntq83L#9@mb7eHZ49otfS3gbZRe9CxEr', '6WT^FVNHc9CoVSS8@Lv6@jcdehvTDsPRilB2h0QEz0W8GA$smtC!$N^SJFQmp!4RpS6ygPWR@XDRt4ELl2v9WWUBn', 'p', 'teF65OUttbEDS^50cnE040nt@@A%A0yocqxI%Lo', 'gYXYB4YPr0qRIls', 'aadWZj', 'e') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('wsby&hgT9xBoXIe907EA45RSzc7!nEcIaIqlfHqy', 'jpGTkCHQiBHWmrIq&T0mvAj!ddhZ!oN59CSqaNZBiEkH0kl&KWIEn43P6NE7kOW@VCNQGgei!F3XfJZ!Yhe4M8N4z2ku8RgAPqSuEBpt;KP0czsULf2zRdNVIgD#R08nz8WXuklZSumt^3mzZGtBe1%b5G#kSxVeBrx4KCpp!9OmXiXE@330ND8y0JRUo16jF8ZCChWlg3I6jGkTPnpPuKx^i&@0RB1Z2tOOpj2JcN!K@2dAn%41HnW@G!jC', 'AM2P3WZCsvkNBNRU4fRpIUw&hKET8w0wlncdIb^oIRAFM@S80TW3R%cNe2xoh5u$vVqcACbYhsOYiXjmZwJk', 1, 'av^GKF7CmE0YzEDDH%SoelunP0wRs0ly9225D', 'IlaBKNsUjZ5KJam9W1GXA', '0biIOxCy&5Q923RQHlmcZmwImTZb3$LK', '1or4KlNq5E!2j65g&Bc#sTMGl#Fpu3q5F31rnDI0vyhYPjyS7S%0wECeISPPNn#2dUsg4JZsZcv@AVX1sThI5gF1wTQCUZj8CfJ', ';u!Bgj8IKU@Ol!5j$%eqRh!mE&!noka$9b5UPz&k!V8#I6Dp2iiMMwvwAC%gqQioJ%E0VgAt%!x$9%Kxszl62ug', 'M', 'bCP@9BPiKxtBROVPS&zmCYvUXubmd', 'te%oXd^nqpL0&&^Aoc', 'IbhNj6@4Los4$B', 'l') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('^ATI8%YYvVZ@U9yhjg%g4Qj@I2$H3t&IN&eaI0', 'VsH5aRBjBKhOnCldgY&60gU1WfcV@nGjcIrH9dQYxJ5obhj0J1!Q0^kEEFf@DMpd4^BMaK4388EmavWE#3aZuXidnT3A%VjRjYkcME^&$WHYp%s9PI^ABwPcLmnnHz6jVU3j0JYm4a$EfrVqq@SkWQfU88', 'gHotQn3B!8^6RHvpza%jy$%NORt4Efb2ay6tT', 1, 'ixh#MAdjXj$acXkJIM&!^%K$#@hB2C0m5$e', 'R1ffQN#eY%HSQ0TV^okTk&RhIhjiF5gIV%YKPKefON4$HQhscy6D@IqRg^DytJFSN&$Ti9', '045D#VGZ0X57&JOcC6sR6NT58heIUv', 'sStWDT', 'nLyCDyT3hPfbNkdth0vJF^4AO1KcfYFQg0trdfxGvb', '4', 'm8E&EDncUpG%VCUGUp0w#MYSe2zWctD0lRKBEfj2r3c4Sgq@SWn0@O1HgTRC4x&pSGH4Yi1E674YzU0%HE4n5C5DQ3jSuN^', 'Th', 'l2yUQ@UK98tSU@vtHk', 'A') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('V^f9o80UMBVnlBBAlIh!G@X0HTywty2', '0dADGBLzlrY$vF@Y6^Dh0K!7fyCFKpdzdSkn1$M6Dqkz^3adEFnzuormjsn8&5W#doPKjCW9ixLQoq9cmo142K4Vq^4FFE7xApkFjx!1Pdg%KH%ZiaRH4R!zk@jlygAKpde&5zZWu&lVt6aP0altTwtQwSkpcDzyJCDvr%UQi#b4v46dPAkm@7Y!RvzjdzIXvTaXyLn3nCaYjojrL6GJhcDCLKL#tzBPikFJ!eM4bh^o#&Gsa8E8!^FieEbV&rFV0rF^PHxwqBw0deGL4iRl#t', 'Mltk3Y4RI0oAqHJAG8OnxF50^wRNHj', 1, 'itdcsywMn3X6ksGfLTMyS7ftmC7n9o', '^6neltLeXSg19Ybn6qE6Y3ybcQXWr9C^S58e5q!h8wH0WejuqPgPRa@@Db2BCVTOfif4Q%iMwl^qsx', 'wrvIYUcHacHZonLiK!RD&eLtwBhvczy6W35ap0Wr5E!Cmpm8GLNyNP&hM2blBOtHKA2liAZz3oyqk877e0VxT&o73Tun^AXmai', 'n1V6SdvogF$E@57r!#VLb@hv5BAzxae2flPdkPMFA0XuXXs!svteucFsPp0gJ$X5p@nFlZ60ffaa4U', '9H62O0D3Mmu#Ou#D0S4#z', 'E', 'i^e2to#QT81XVnpnj!^tarRjD1iPKLl3BJu1o', '^za#m@', 'uLEe!F6dYc', 'u') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('c68S%kbZn', 'H0@0wuoXNU36vruvvDUtCWZm5UA$r9BnF$hEadqPCELh0&IqzVMlABMS8E@I!suDiMwz9Wjhb4X^0Hb5a0sDsfU3fwwDiPV098^ty9gKAu9vLOHwrVxQ&Y02ZtiJoN^tfMW2IPC1!P2%', 'oyW&btg5ah^$B5XEkUwMf^ZFVJhvXfVb#A4R', 1, 'b0BD3Lcwakudxq8pGgayaRe#sS0116R$i#z5tkB9vSkBSHLArKaCd2', '@G0hKbv5Ax#BX3$kL13pwK9S7wFm@eOgC90U0iu', 'f1jM9JoOWXb^&@gwoadC90kPK&OZ90sC', 'fIW6%Tg', 'nChDeZmS', 'g', '6MA19#vELuGe@KEHicr', '5%csry&Soj', 'Y9', 'k') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('XS0p!$2IAkMy#WrJ1PmEOswSmaja3AIldoAzyL3gpQ^L6WnwId8d%w6ule3PIYF&IqjDkY0lL6d%tRMwTU', 'stnOh5djIjEya&2LBQaQ3SyYh90AyC$VnQCe2ClfKXKqxLTuP0@2IQSH@wv85JR5nQaqsUJ&u#5c88pDlBSxH!bE^#jC6ca15E3Ozr2@n#DNKFzT6ZTzXituDDswz7ZhR47z4H3!zX0Mlv!psxvdqH0S0F0$&Brg3l$Gx&OvVZ009O88K342HKY9!kpvw6@%v!J0yiYtP0oxH0Jrw2i$xpFouTMbFh^O^3Ae48GqaGiHkpyQI%&uU^v6kjBLCLUw1GzDFunosYRY6%34k#AIiz@&Du!QC@UwTSFKX@acGH2$dE&ngxqH0bdyMA0aADSy3k5jnpdpRm2Ix%S&vCz5zclGE7%m@&J3Vz!ZyL&Yi1WT0B0PO0M%3M&W^uMfrYuRK&T%4ZwQDITxnyw27eE@jM&9A3@4&PvqD49a', 'LWA#q', 1, 'w%J9cjAw%&Ks0^rRUcr@jolj4zPqolEe3Bt6lGi72Daa4GKX80', 'xDd7Ip5JA08IrupvAlvd!', 'NdaetVYidPpNvmmu$AGDZuzQFfelSLokdLx!w0HUIY!Z1O!8dXzKjN&hKqFdGCwyq5zRVt%SZS@0AGPYl78#bL0w', 'e6Atd6rry#e9iRZNRxS&N4IO', 'tAmL425FdYguEVF97TJbUn2v!zLMyatTBKIX5TXb4JC1vmZ%pD$W', 'L', 'yYSBno73uu', 'bP4k#w80R1&DGNm@eE', '&Cnd1lVLCyD0t^SHzH!EDAkxY', '@') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('bVWN', 'GqXiFIsDhu^9I#LrDL9iugXlTrdJqKNjq4agIoj$0$22!5iLmQhaEPvpzBwdtQcEOLODQuPeqc9xdVrO9zlGsBLIESN7Y6zqQukemL@Y02QqG%aL9P4!tCab&6&^NImkKOOQzcrtFuFpRj1GH2^91F%di9efM$aoMvNYfqa#mHk&$RqL5omLJcj4RAwq^bOJigKlD9qfX2Sqk%gxOzanFwMybI7L@R%aZIMM758#^7UHq!QTi^Iu0q3TAa9@2Lk54HxJhBqIrepxI57iZjs#9z0yE!a$#cZiSOCQr6BOE&2S1B0v3X2Pip$Bw^4optMdm6M@ynXSOKm9wox2PLZ4a90sS1js1cn0iVu@Wf%M0f0E2T47x2FKBI2c5j8x3tQBlbWI!CcyOb4#8sp^$b#&DKFHShWC7vICwviW%rc@W6#oD74J!0AXxQ^IDdWINGriAxvJ0z1A&10w', '4LccI%#R5MwGiPCBdeLJV6Iq', 1, 'YwGx@m0auz^tnPsPbzfh^tU@S4r^3SKhV#ZF5&M#Fr6Kghl6JZd&0X1uIMMW#b8JWMErWTKcTkJDn0JzOkk0EK7^!u$piW0sitU', '!gXe1bWdt6y2b8HY%4bFGyqWk!$kfj@l8WU4t#CxgQvoum6OoBloI#3rW0@7eB%0ab!', 'Ct2yKnW21r%Ue#K^CKcTsdt0vhMSl', 'tQuT8iW%DcpVF$j0GjbEyMzYo0', 'rI3M', '0', 'Q8CLM', 'F2pV4bh5y9FP', 'Du8hUC@', 'J') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('sfgxOxZT6@V^a%X0DBCeqTTbKusZ9LuoopH#0DRIM#GlO', 'j%snF7R3Gt4Tj40JrvwGSm@9&Q@yubxtex8@NmWhEl0y#RxEMieWhV0%3ioVbiFt#GES#5$5Fd2wlrceimTb%IbpnaYu%15kNDDkbMIHl0f3TKHH50BWvsvjuduQcy7E9NPPVY2DKaXUr8CJz;TvfVk7iX^gYtU2I@6@ZSc8^akCIYlHRg$9j8ZYuIC13lSO2RQdwOHvbLw4AOurAmwHxKPz1ewgfa4JpCzX78a3Fw%EIVmMc0wMWagn2gbghqf0GUL^eDjsbs10N0YcZQ35LnUdlaVX$@Seg%%U9oxFX4As9gHYo^nxm0ki&wI3OswhHTPPb33AiudGUr55A%x%CjZ6ILUJMtXtEiRlxYLl#UdY$LvEqDzR#zLn@I7xeqUWEQ2AHPDIib1O600%ffh9!5y5DtrVQd6B0ojbI@%H&YyPx%h@y0g&8L#yh%%dnPY56wONM^klhG02DQDFawmG$6tl', '@L$Qjg&sJ1fAdzW#OxA!@ypn2Xrg9&3rk@4Foym!206CpHiUR0o#RzXrlFOsVOjJ^UeivfDe0HXQrU', 1, 'w8H7HS4IjQR@4kXsDBr&nBs9S0I60xGmVgha2YcteU#TufDB!^fs^Ef#Myl', '%IS9t5T3LqMo^R', 'FKBC6c1hdog1mvACLkha9K10QyeEz30TLl6UQ@2QGA#5VSNeW0KKzov#JrTE^', '0ntl0pMSRhxAFO$l^S&PopmjlW0ao7uSdSSNqvMW9oZr1VXdM5VS^KpQ19&aeBtJTMmT#e@y60', 'w', 'i', '#uiiJTAs2MgvBGE@fFlx4hxalMV4oi7Xxbj60p0ZSq!zJ3Az15gk$0@K%8%%^v3PEp%pmxRXvtMKo%yiak3j1S@xgF92rb@mm0', '5aczkq', 'kgl&FLSJsPNTvw8N', 'O') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('zpmd3ed&8z&H#rc0j9sNpg!Ds7TF', 'aC#D0#@7$qxTBZQ6Y4i8sekNZhvPS#rF$IosMorh6cc2fDM1UmfPl@3$hdKOval1^ZWZAnpyJ02f1hxkBt#uLIi1FraxKJS@Ya4nOTxw$O6lZT@&Noc2fXmlFVj8cZU0d8oXd0DP$vy%C%8SwaRkvQK1VOOZyoi4!67Ru4RCSu6RnpQIMyI17yAutm1wrKfDbt3wWnmrqdz1KZJv^6c&Mh$qCJn72ka7dyF@liSoafHZ', 'QAKCxlxfX!xJ!c0fo63sUbjP0LjVVvH4q4ZTswTVF^HLsIpFo#', 1, 'KEg#sT2JrqishWjcTZieTWAElxlKwZE5eUpkBx3&T$Cfr0qzla9^hGQV3', '#xnczTcdtw^IkVjsXikbl7TokPGUE3AhZY8yuP3teS$2mzU9^d!COwkVL&YQbp', '$NPtNR^7eY%z0Q2S@wWq0^zsDjUvXjgVbC6FQqr', 'TmXyRK@$6VMzef%clXt$yf#', 'nEJs1A4IanIJ@', 'F', 'RuBl$l9suz^gNCqfps5hA4kHX4ZlAr4U30ux5TqhA&D06rtRgs', 'AH%M0@uZ', 'Y2v0cM7ZaD1TNAxjBvG748YK', 'r') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('naoyVN8AB#eOKog%nN@seWp^hmPQaRXRIoA0dy^&s$PFgYtLX!lCxGAySpfy^npQ5t5kUgPVP#', '7QOq!3!guji1V2eViv05D^ATS8YG0wUCHiq1HWF#u8kR04wR1@Ci@@K8f#ERai7%wNqBIcdsX5HvJPIOH7Ef@AHMEhSLhUQa1nktJ@9VN0sWjdvwjW04LX3#6K%pry02kw', 'ue4M%QzQ8SspTlrsJMv0jpm^%Qtd0pAT', 1, 'Ru6@mjUj', 'C57OpF0j14Y6OdmlQOgFFJjlHeFAU0C3Nqcn7h0@Tw8%dLMZE1z53I%ZSR', '0vw1yUon0&dxOlT9', '8$yM$Swx04skBmaW@m06vploZFU1mNWV', 'IaIkzKA1Uk#MtYmYrv9uXOG0Um^u0jeE$5K0dFUlCtB1tbb', 'L', 'pLZF!AyxbM6YA6mPndmKSIUZscFMHa2', '^VZ4wQvL8HFvC0', 'tUO', 'R') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('X0bN#SW0JlcBgtLYtX^K1esXbKGcnkr!w713j2A!iG#0pvKJP$jxSVMIDlBgbJJo@i59rHEq', 'qqiiwN0$ur0!8Irpw%xjNF%De6pAg7n!aMtlpkWUf', ';0atO2aHZ2nSsM3pmwMm', 1, 'd5&a7K3yrNde#$Sd$N08nIZKgvxQyXdhgQeI3&ze', 'pMxVupKxql6H3Cbl@Ibi&Az$%bO9a$dR8yhcbr1751wYaGNIvO5X2MXWcBYiIAmt8kyAk&9zH5c^3HRmv6JtY', 'rHs0HzOvAK3QX7bnwEBf%yZSBQAUBXZBRC6!Z^x&ZGIj0Y@ejPcVl6R!PGvY^@!KRy^j1hvy6C', 'WESJVkATK4eKSc0hzG0%M^yy!Hd1jKPQPt3', 'S2Kq7&NijyU7c&vCqIX5jQd7yy0kv#o00uNEmCE&SeF9q!6LicnRb4z1VDZE&rUo9K7PhYfU3Yj5a4MFrk', 'h', '%#@MPQK&0prf&MSnsq%AOkQuXQXibKpBRCMbVC9w03X@J@5&T4ZHk3VJa', '&ZqUm&Xut0GzWhwpK', 'S#LXv8RPfON20pN9DPfA#TwI&', 'B') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('VJaflJ!k2@LBfGNM%F988!GuZ@^v2YiCPpr4C', 'MTVBVA&LbP$1Dr!g@3MnqLuhaI8TXeI9a@tkioS@ZfSM6WLaV9w1Wuj1oDpbrcU%7TXJ%E%ChSuaZPbk%%%OOHiMGs$M^FyMrVFj&1cfa!P4098Fr4eue6evz03BIgEIjPP30Yl$QOCUYeMxjnk!q4wlG9RV^IE!l7Rhp4vzPhKwzqDjtBgk$Kgehst17w%80JyRuu7fZSa8q0TeBwqsri%IWB&$GtshkBmXZTW&t1saz8VhGevG5ANXLX@Zu0FupZUVJ$lOHr^pXT8ONOmr^SbQVva2Z$Bjs%SGk&EKZN&KCm&ZObbMUcvDM4&dRjWLWL%Z1xtN0JygTydyvikMRVvey', 'f0qZFYjUXo6XfPuC0KeRdXxOy&9@0eOqTEcNPR!oyKm9or4%lilAitLpzIpGPpUHHM4ICOTpRWhAzno7@bEO!d8pZTd', 1, '8XMyJmsqEv#QsbaXajhLDS5OsDKPPAM^xf9KTWLQyR0i%tLdO$3U9E2mR^55I', '4P%hb2w3kEycSSSQ&Zw1SxZW!dTZVRG7V8$z0byag!OeHqfB^d6cbHXCX8n^fEdA^', 'KWiQTqlRZPJez%g!GKs#chpJYUz#ILdgf2CM', 'iSXW^UcZV1^KDWBuarwFY&Xq8cBr^wqBcbrH5mjBv^^y$', 'nMSY0e6Cj#wO', 'h', 'nGtwru!pU8@9Z0nt05dLcFgl7F7LFFyiL4GZzxMZSr42k$KiD2DM46OPp7pSmeQdFHuVpv@JokZRBd10#U7D2TeFmYzr', 'BDIWsJyW!87!mPc$ca', 'Wz7caTr', 'x') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('yCtPl8LSnH6@^v9vvrpLnlX52vuLFhInrbEmZ0XUxpOEPE9N2n$t8TEbLoNXK0b6&PzTXSCvBBc^EhltmOJhkdfFEsHAi0', 'cIF05lXfRwZCFFEs2iz#m!RRz@du02bAqLS$Jlo0XtxUkJ&^Uex0wd0iXUwa8r5Pkoa!UIQN!z4!s$vX@eG#Ab3bBy5VWcZvnPz$x5abuR6%9gX!oGfZR0d8k&olC@XMHFCJszoW4uwQ562jHawe%&KdArHyMWFA!pmALcxVhqVlJu2e$4KrtIPH#n81YX9dW$WMQyFtKI%CanA6osCHad7hGLFm4v%qgGwNEmvtvfNSKbwDU2Jvjx2', 'E54!ipeKClAXUx2$8b#xkDtd1z2Ty7QEWY0gqAbXx78X#M&AGybl70z1HWYQmrbvC$1#xRBE&5&duDilzyb&', 1, 'n&FAIsz6#Ik&K33W%Dl1alC4DCfVfcA8vmDxa0#DB!iShiHvvm2n8vA2tB$6bKXO8cAnv', '$IOwh3QSk@QpZab&0TB4G4VqX3AK5Pj0!J5Mp^h&JPIbsk%D#dzA@w3ZTnFey6NBGQwf', 'F1ACqXrJ^C5%OYeP5sFc!2p3xD17BIVNxvEy&o6cw9o29AoW', 'L3HYDCHx4UWk7lOnwiiNPNmrMQJn!$ebRK%R6FZ1Xyjhnb13jR46DF8%MeaT!jD8FJAto$hXpgWgs54AOG49Y9F', '&5Xu58D@aJKIELmzdMlPYBH0H4ifufv4oYoYqsk8ilgrqZ0#NFKtirLu', 'N', 'Wn', 'cFiMlu8SrdwBjePP@n', 'C2S%c!tKFii#WldRFtFhxY15#', 'a') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('47xVHoaUlzr1uc8@BM%1^9wOfnK0N24PeMAbR6d%3%i@cg2L!0psdd&@GPEiK07jvISOI#9uy&%0WCA&l&6CIHB1NFC1y@jZ', 'uBuj2^1@@df&44eF%L3BHV7R12p7$DM59X7&A1$8BNMnSOBxTZ$EVloGtJi0F!^nxaWd%e4$P#&@8P&jxYj3G7fUywCYO$zHPoWGZmzEV0W!ltyKK&yNF@Np#1MwJbeTsnaP!oq0nMdGhly4%YdPtS2UIvLXH2#IS3x%iQRkEno!N78FzHzR^woGln7tJAzkQBVeVASd6Z05t97An6n&z0KkKXI@JmH4V39aiZR^WkL6ljcbfC6DbASFYzB%ZXAQg5gp&$huko9evD&qKvK7g4YkhziPnU6&R#Vf2TcjkHhTqC0kAajsbtycd$8vJy7xi0uAPPnXiqTFS5!Lp^ecAKTmsH25LNGSARAg8FCSTs0SH!r82s6Li@%Em787MibBQ051AJCQstq7z1Lzf!2hH#zGT#!1xu5zgE2HUqEpXliWzW4lrEYSf!!UxvdEPBh%oXX#^4LVlJrlJK6$XEFZDijmKd0oc0Hl3kxJ&9mn!2wDyEaUo', '0#op5CAgR@lIl26hncs%Ohh&BSNV53l&#iwpK@r6uZCsDpaBsmUH$i&YKpViWMaNEmM2BNEs', 1, 'MVsaHbrPeL3JjELk69gPNVVgJ8&LPrWGQ9bW%JIKjryZi3P%1ilI5P8Y&bxybN0UWtZ0sVnswDvkm#%Gp2Kv', 'B01kXRb9xDqL3W0EAc#!a', 'TB3dY802BOHYY98^Cgn6Z@HZ7vRxw', '23NdQTDj1mAW$r%hvs', 'IUrqZ!a6rnJC1BFVa@ob&$lPo4Lw0ck4hazeI', 'k', 'wZJK%UqT97B42pMxI1VdL$e2EjX2pcUFyAz4J5qfjJ05Q0fRUN&kwI$zJH5K%os', '#CxXHV', 'E@1#9hE45dJcz9XE&q1', 'N') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('f4TVtO@bZsKZN@EAoxGZ0QPQTM!YgTC!l&SYlt0la2RQVf9KrWJy6pRwk22OV3#5XQDO8Ne#mjO8^&@CCewq03U#dkCj', 'x76M!4JqCLHOaSIIxl7waGDB@T$HzT0@A@TG2i6WZbJSPsZ1jCUgb@gYAAR781YPAMdg&2GdehD&$RSy@#n%&ZPFK#5xy^OXj@g3eI2h$F1@nh@PPhccK@PH%FC3$8MfzML2APjhZ61pYVgs1lOfSBcpaF5G5&kU!RqHCYe0^@jEZpQ9n02Gpvu^zkY@JKc!Rdw6tFW97OhYgFx', '$h@%Kttms8h&jmkNpTLZJLPkZzIcCN@U65Mrh$6Q2Q1xD9Tr%aYSSZbhzG4aSgRLdu!eGZvsM#W!KgNPMffr', 1, 'ZuYHY#^S&mi9fER4Mu6X', 'Eh!luB0pV6sNlb0UAR$4!m^Dy7vbM', 'a0F', 'OCwtRGxcNziE3Y!l!^ogjlTn5VJt4gCMlq6^jyijWRW&VX8UxMhbfFlrP9n$$3', '$CiIS@1rM5qywUyeMW$n&qwM4Kfa0lnTIp2iDv1CLWvaeU##', '9', '7RxC6DE7L', 'pNEW6', 'HgVpI9@', 'x') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('jB16hMYYwb0Y!XWF6uH%Vaqy&hN8oIR6morkeivZ^ek3;@zTzUXWi@90z70^QzVq@BBvApT&P&', 'mYGmdkVU@f3ti0Mbu!dLwJLUp4i91X7jkhUHxJRuK0vLx7bqKHAVR@qKbS%02LT48Q90l4KR8Q0vc0mhYZvpmhypY0uLMHs&drDO^b4F$PN1!#wbvLh0fsNWgP8bG^5wn1gRtEjLVXtEBxv$Jif1ohQSLNxe3Z^%KgJZKMOXqDlo&9kPjbynP375hv6M75I#Yv!jVDh%ApGS$qSBsO@YpHeG9EGeF1Pl@pxzf0@N!ATosk8YJBjp0RCffi0g$3oyHkYDZhlrUd%WUXcVvPB4Opa0Thj$XKRWbkO8tB&reZB$TMrp6lRcyjRg9NQH^pB9t8Jz94r@Q0VVUem7W!WAZDnYAw&MRosWnrzL3Zg1@Xsnv#s!qJR5z0gWQR^I5L9rO^wrMI3%IVG10&sE36l8DmmnaK@h!F#eO1Gwv1dOFTsKpe', 'opF&p1UqI9g2NS33Zrj9o$92YDyR!J^$^0!z0$WMcfVmRa1UPpR^@CrsgC7Tz3w&0j3CZz3$BE#97', 1, 'K1AY01sPwitW3c0QWbw8u#fmVsmGhktkqgV2#70iHTrgF6yqRohHSF6', 'c3DLSxbW8vTn8UO1dxIA^OO@#VZ2TzR07fP4DDVleqwHM3JBAFD8udTvkJP%E93FKIgY5JuGJlkEg7e', 'nyc#JLZtiQ@UXO5nY', 'TSwXa', '9ZdectXSfHWJ0%ntS!ASSDefpaa6pYH2^dB0e4Cw%5xuxd', '6', 'K$GaJCJ^W2iRro&ULSrmdNn4VM5ROae5H1cL', 'B&ngezdbJ9vKy0L7', 'FCm$wYfKUc0qbkrZgr&%yVWI3$l3', '5') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('Yf6VvEzv1BL02i$0iFZi8cuQMK!zCb0PTGy#eCsJYA#%9WGQ&aR3', 'rLSl9SK0ZVA$crQ1#NceqEgxHW30zqr%CMeU0ZtH&YH6tcJe&^f3X', 'UtkLiOzwytCpwc#Y2jBfz%03tcV0Ban6F&rqVd0!vr8IXTb146dQkNcWigg5Zp#n6wRwRB', 1, 'R8VxcH0U6u$DRZTB7E%505vRCp1Lfy4pHJ#51S3F45jxqyLZKfuuX4HLI3#TFlDDp', '8$OzlAn0#S^p3L9103GyC1gs%Wf&PyM7UCD$#M9!y4M!JKY8wkCAQ4q6LlCvjogs6YCx8c6j@M0yknPj^8zu#bmPawgG0KF', 'iTS7q&idiF34YRnChwaVTx@ATlI$v0g7WL2A$cE9ffJCjLjLZ3Zctk0SZhj4nmP9n$dcPTF5Z2FDUnf8', '3sg4JALfHLZzS!xAdnx7#5tTjrMs^B2b1qilYjiJxzb@bogM5i9ZG#0%^tRhVhg6INxqGaJ@4UFs!zH@a0nLr9B6plntz1U', '5huYW5!GdVSlE3vTW7V@CKzar0k', 'f', '0q0V', '3k@t', 'kQQShZ', 'J') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('kLqPjvVR6qTSS#tedGTS@xxwerHe2#FP806vtyZDv9mKry%Uo2K0W85Tc@AYUGPaR3KRW^RLNemR0U5MuUX0gEZ&#ihz^0QVqbZ', 'b^pg^iHSjJpVUt0QO!b0LWDNhNNvxq%@OYhVwPhlhcIFYL0DP5IiMc9mrJ&hCakZLu7#baj&HXZxc%VDC9MsPLeAP#tUQ0P6ZQ!tDerDSJHWkH9tUsLsvZ00fCcfOwfH7SFt3r&nO8H64of7T&&nkmH0F!d11aWkt&Oy2LqssnLmh3#Xm5tOwYmRaFV0d^lDilJ4HN57FC@$IjOB%mK#N7VBJ%nsXgeu274#qYfG0m8@%p9XXibXjpWaw7rJoJ;nv@AfT0674#q&@DjVxBE4naIh!uivCgn5QCxuEH485QetvbCA8VY7Ik&kihmnYHAUEkfn5WfXxw^E#dTOZPnOoftuDcbmjNgueqW0#euhF1Gblqo4vFu8iTunYRRZJ!CQfzpAoISJj59nGg9bU8XLh8bs$xia', 'FLuW$S1ULUURUdK7NHHE4B3Yy7n%EYpGeOwtZRjma0s2Ywj^OWQHAWy3', 1, 'u4eUucB6Nfd$mjt38001TpeP7O6pesRltuZ6RFEK@dgxHUkfsu@IDm25VwNM7bXkvZzZrmizrl6F9N7itX$R', 'O6rUgjZZDPm$2', 'rU5argggt#8otife6Sm0sxE5^GyPmic', '^22XF6YwW^Y9#uGmzg0MFZ@f0bROy!aPu0vg', 'wLuJCzM#3bZsU12%P57TXtl0^$T8L@&p8aRu', '$', 'z49FV659Mwhp9qx3pkKFMDg9bzjIgEMTQMiSjNkZ', 'seJFfOJO4%hNL', '0slSsZ8QuGs7MPJ&SO1a2vCi', '&') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('PB21n^jj&6uSjud&UG%^r%v^KQRAX2ftoE1!DrQNuo0MjfYEhDu#', '7R54mDcQt%X0sMsjrsWgA2%QLtZchiDjsVwgUz4cAL#3WiTaa%a16R05TlpZK&x0pCEEeavZoJMV7@@rHN1j8BcHVrty0ayAcSJiLe$0yhJt4a^Zr%h%%d1Uo$PTO%Pd0bIkgHNrR1SXZQDJtB7bZAC^QV!Ov9hAyuiZzJHQgXc$sa#Ep6pcXDkFFJAsN^#HPgntxK0R!m#1nGCF!kopQ5J#9JiW8e2h#BcaTx7L#EizIjh^6#ysGBXJEsjUrkILkJ6SsrTrdJt', '0jWrkPcMGHpLzCqcjjH#Ee^cvCK87d$7MXu9us7Bv^K2M7ZVsd@pTed@kI#O44FrLi^J8gPXc6wFA$xo', 1, 'jCkwIzUSwowrpint8fMau3cMPFpoaD5enM78^y0Ft%pVG4ehF3fs9BtgpEN39uG!ig4KaevGe7NxJo6Kp8Q7mJ6Sh', 'pR%v^nvBo0B6pEGc1U$D1x3J0LyDGahrkx5VhHO9cTNKU2qyMv4%ljNYOjvjVZ#dP0SZzS#q6T', 'QoV^j&X06j60Qc6%btkkX', 'Kgy&@zKYy!z7ovw&V1S8v4R8lL^dIy4mgu0NS&$GrrE7g5OxLtvi5qvGvpKeBwf&VbX@kPdV5aM3vKYf%wyd3ShW^Ahr', '5#bEh4eTc#fGd@Ls0Syuh4^1$3@0$RxSzn5RYYsT00jC%sDmaCpv!Xv1%0Id0eXsuu6WW@Ai', 'L', 'Rr4zvDVpq1YI', 'TO', 'ISjX8zm', 'x') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('76d', 'fB69ODpw1sCt$R7T3a3IU!jAbO5Eoj@JeBUhI6v4rTWL%ZRM9d3#aRzmgB$0xR8NxZdr%Wa%L^f04FDj$pu0g&yu1x069vDGL8c4KpPj36gbAziI%J38m%wyqQpwV5UfrFk#rzFDHa70Pl!yen8wrujNHKK@&hu^i0R#dmgu3wxbX', '4WXhx$mV$lEkNWLDoM9YOB^kY7Kt@%8Xk@F490%1#bUFG2zFoZ9vOu2zYBppi!!&cN&TfGunO7$C', 1, 'E442VI8WY6cDHDP2iVsZ2MpPuRNHywSyWzSdVYaAE0@9tXM0n@iY$TUYLlD3@xnrjKN7SBcqKYjZRflE5DjEc', '3M!yzj8F7SzVP9EoSNYd4y@6v0^%ndPep8KrZ3J6Bhc6hqCuwdxXkMxA', '3zl0g!2juHvcvP4RISlVV4uzx9MZ!KG9G5&0Rr0j3^#@&jPPTz3Le$^&5SJ8c0pR1lDqQ@0gR2SX8zAcq', 'qH@@K704&', '6ZEa!JNn&ZzT!c08XBhvNf4&96rZjQW0yZ#Zh$GXw3^dYV0Nz^9yOibXVE2TgU4f2yk1ghW@#q^KhX8k6KpkGmieM', '4', 'TFJ^PaoA^wh8dDmjxF%wNMCuPFMf5kcdb&8RlLzMPR7d8bsQ##dv6cc72de9u9uKj3$duC%T6hN$FomDc$j96N7&T1O7', 'gGlt@4fd', '%roUvgxKYI$', 'V') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('C#$rtUWmN07Gbthm^I@bKojzBA4eUsPR0Xo8iSYB75IToGlfGl%X@9ZcI', 'ZQGyjhmGk593cQo4FNwa#dUFyuZWX%avW#^SwDnB2&00whR6C5jwbi@L#10WpwQm@KdgSCD2o@8#cJ9gKSjSKKjC1iWvCyaBfKfT3zj&xh7g0^xhZQaDc%IfqHfyM8vXQCLzslc0xjksD2s2SEDTmDoi10srjSioSgxDj^WCC15ZJeInedN8BIzbdsyr!RXM0#HlAWPUO0flywFSn4c540U0NlpXvtIR0oYNEmTpu!qArdKOTN3WERIX8wFevYnkova9EYc1gUG0QiOzHH3PpTcpN1F8OE!DC5b$2B9@A2ER0x6VP6EVVF#BhSrDi5jJ@3EK6Rw6y8dneree@RoH05P$0HKg9CIvO#X6ZrO%GxlMqDmXCbIyMIJVkIAv7e$#wPGiB9ly2r1yP3CCjUL$@0P5h1SgYhXqBqeH%3ksW0v', 'a6h6%biz&0m0A1An5HQAG%nU@Fgzh6RKuu7@za!6DYBpZHt2R5RyMQ0dPuao@Qh', 1, '6!FU!NJ$Pr%@jaeOblh%Lu!b50AaUGI9g5n8bhYS2TgSRzYcM15D^KX', 'sO!cx99PUKdU6C@uv#Yc8rB9mvSA5aCeM9Pz%FAK82$WJpGva9yP&uY1cRW2mEKJ8&8$TqwXqc45uMv%Vmp#ITeg;mcPynAojO', 'JJQIHoSpTCwkYc0dO0kQYM43i', 'WAM0^RNbKFj0utXubWYXkmlHis@o%ENpzw$W6ryAa1mFu0Xm1gZdrgDze5YBXnd5Z!w^w0oQnnMi0NbiCDnMMy%i', 'H0A$JUThMAzYW0Z8X3BjyyZF&i&xpp$d53pneqLYvO0', 'P', 'nUDI!OF@97#%pUlZlElTSGA!voJUQxgWkBIKSO2vw9ggitk40WK4sY#OjKcA4R0HX5IUbI6EB', 'JoiG14F', 'UbttF@p8BxqL^GqcSwZyQ5yCBho', '3') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('v8fTKIedgh^33vHKPZsfDMa0OKYYnCo4p1#DPTMBDhHfS1v6', 'F8H@ZP$540RmXL!!J2A4#$bXJk5@oNdR^P$gsv8bGJOMRfq$mYnsCWJJ#QhDK2NnS0n8OIwd@ouhdw6s@9DwoSd96jkJdAxD#p@QZidKq0xdqruvJVJBug&&Se1unU0qXXlVBlAH@!5dj&OLWW&oX#9Lp@%JgQmC97nA5G!mk2GBaRLTxmExVIz@NGuGnXpaCz5bIcFe#I4VkDAFeab@aVOxEsUvaj^tIv&IMz0jNoBcEKG06WqcLv&NSEEfp04IJGcWEZZM0YdSjA!!TJolZSPcvhX7@@@Ck!A%xRB', 'KbTgdtgLKsMROPXY&pm2RR5%Hwp0#r27aodG##hUFsgydRC0J5yqeba!6WGN3fPiqEGpAg$47ysoADPW!enX!HZ&dkz5kBR', 1, 'FacGs9ujNPT', '7RTVZZoQMGaeNYPCO2LCw9KNF#Numafq$0^AO#xRFn!A1qLgLO&', 'S2%66e$a@sBq', 'MZdUSB!%8f9LegvQFbzi0^0tINAF', 'o0g8^ox!dadV!N%r0ML0ToXx9OZRb41jicY^t6h7hM^n5k4jwfNU@A8&jQ^fwMO90!BNV^%!uDZ7qyrUKEj#ncpP5ZLJ', '1', '^VdbPmuyiTpmH0FRoaCYsSR%zTH$ikSs$l9Bke4m0SJBU374j@k$vQ0b', 'J$Mxf', '$', 'l') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('v07fNH', '9wLDJn&W%bb$x4B7HIBLAXIScfv0Vf2y3U7cg8VY^a&d9@CqE&E55tMiU!psZW0O0J!J%oWyUKNoYuJiK4BVH%tF8UonPs^8ag4v1!sf95gqNnrpg7PUja6', 'jB0&yQrLEdGpchRIlLBM3ZR', 1, 'JaV&0YfNnifHlWL99R&3W^b%wBwbrRO0r8OAQevy%Asp64fWnQHH03SL&XyFr3lD', 'fc8ap@lx5lBTYrlGVI97&nm2', 'MW7!dVVWV2ObpMkz^w0b&6jReKttfYX5Gwevpb7M^1DiZIhtSwpXZnZFClKAqqF$aIB!xW9Totd%z0YDs0IQy0chD', '3xDkEsH7g6n##nDxv0#6Bu77qOWtavilY$5kR8GBZZHx45Nr#yO8IznFqv@WCc$ST23&ihMmzqdIUF2k1uyJOaJoFv', 'cR^L$WK11O9KSqFglLSRtFV8Ki4IoLpT', 'q', 'ryL%#1jjlVYmBs3!K0YD$X0KS2ImnlmqfXVT0UWrlATWqN6$Hw9cyCSBx1bZo%$&xx7KDf!Wkw', '4ai5#MLX', 'YK4jk', 'I') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('oETo!', 'pqDjZ2kpxmO7$Jh5TnFsGj#@cns!UgSpuAmkjZhVoKT^gB&q6y&1jcS5vI6AGrCfAoIsm%R@6R4#x%JIn2TkgR5hOgVITNe%8CtZZD49O5#z9XEy^tbEFg^PipL6897oB6T@zRQR%JDbWB9XImJoAHoXEKGzY^0E%C%23K^dKrG#KT!NfUtSwPU@O$mWagZ&J^djD7T^nuK91s', 'RZi4Ad8eP3j7n93tzGiLEG990vu14L!kQB4h^UvuX&AATMHdrgGr0xcaP934Q7030&nS4RvL0VVF5F', 1, 'GU5xaio!zVRqKQVxpUnV9GR@g', 'D69TPfzwm^IU5tahG@Q05REey%07&20gVGSUp110aixyO&hr%oa0waCSy@kSfrxkV', 'uInYFZF&Ti5xyLE9HY9QK3&lvNf@PRcJm0TPGwC8YbQzstS6HhXtMGkqI2rYJKf16s0xYVy0l1ZyjvZ2@9jw@P%NMr7E5Kuc#O', 'ijeSPM8KNT7c9p%zqP6mvsSvO@5HCMCB2!PG@xNeHi&Zk@vLN#ScI6AXyQ3VHw81gB0eGmF!1YLbt!0Uup@G!o!$oZ8atZD00%I', 'f4plYaQqnsEFfqhCx7YIcWOeuw9kA1wgr3dkBj1d9B1vzBdxlEJWR6DqmaYr2vWl$ndbb$1c6KzIV', 'L', 'H^#oGwkwU^psGaJLLzbn2lpDvQ7', 'B4v^0qx!%lX!Lo%HRv', '$0PzAflFoZWpNBi@@twRbRNck', 'm') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('$LjEN^rl#t!5YB5wxb953Mm&OLbsBe6ZncrcCR0DY', '&CLjeINTicYo;jX2S^QMn0NL0Y!MaCduNmt2q$QVrULwVaVh@^RZUiIB^F5RT77HJ!A1XUHWe#kAkfW&3IScRlHtLY4SY&1kM3T@GTq6n#KY^7;P5Nak@Xni6l&QV%f@&Vgs@ofgLWVIPvEHm3ShW&ScvIAwrmy%u%^i&kUNw@F52Lz;osSb%4&24%iVQVomXdSwlH2e5R#pNaQ8!P3!NSwZ&f@mBZN5;axO0sNqC7c8Fl!c0@0SvG5OZx5MLJc3X9^0iqQmly0LjQp@10r%NjS85QWIm0M!@9hwm!!QaJv$wqt88aLAhemDnX@zB70lTgR0yZD7gIS3UWILlNzbkaHLSL9v^qe3J09eGiGeDDjGsjPxefcUDU0IF5oTQ79WtPpKNs426kEOY1hy$HgPdqvV9xGA@TuwuucK!4RTa0OifiRDUXX9XpI2iAAeSA7iW7itVDEZWtD3IcFXN3M4$lF4S0rpzB1H2us8&mOgh^', 'TEp5#JyPU3mzxdHLaeojs#0dQwYpkvS^3chdQluW3h', 1, 'GRM353F^&XEbluS9un;vk$t@VRyga805XW6JgpPo5cqFE0&4!UvPQtlVi8fi6NVPD6vELwc^x0q8BUmVRunmIhlsA', '80whnnI2xBqotGxgP2civSrxIpy6kQ23s64V1O', '!SWip6!Ma1Cqm^@mO^G%WBNOzm#mBJe1^tpJ$97BvS#jcINubO6386!n58Q30D0ySBr!EgqFX4x4', 'AXGxaUCaZZz2EVo4rZHsxHfTW@nxc4EWOIDZsIrm$H', 'pCIBfSIEsc@ZHTIfv4^UkKj#gwIPxkwX%OtihSgrs&tBOKhF0aX', 'I', 'MiNkQ9!77M4@!po^KUDrk', 'dCe2OluFd8zN&Bx', 'zYlVJQof', 'c') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('5uZvAy', '7aSJ6WTpIpsblkZt@!ATXS68gB9KGhv2Q$0n5IOU$^EhR0OQBvBG%@Lk4KsBN8Pq!pspaAnhaNWYdVnfUo8aMV5VhVjrfc6VednqEnF18iug5T7flbOo0EK4kD8lf#2^G1J0w$HvQ73spUQuO463vOUHzj51eiRbgwG307PoAhE!BhKxUKEbW^zYc1wcYGfwlXa!dMjGkNzc9@5hFEdBLEmi%OX8HCx@18DK6Ri7p%X9vlOh$eDisLRNAZ$vWb&PeEb1mqbUk6bONcUH&', 's^dymmX0dUUhc%8!X9', 1, 'P%ly3', '4kvh0DQ06WKwg%0xV&QFi$yiJGpegcUjXT', 'n0cpo!Ri2uj5Pwxzjq37TcFpdAQ!2qFuUx9VSpfpbefdmjwQMj&', '2MarUbU9YgIVWghmIN!0K#E$q2@4&dOq9LSS^t^dsfk%Dpx3ds3C6l567d0RhP0KzgL0uwoePMO', 'Hp1BXXC0akTFLKQsd$J6GumKmEO4VUqEIwvV&eqZDzn$ZBPSESBP4m&c3mei8yl', '@', 'ed#t^CQz76pRRW$w2iHAkwiSI&8R4d12KEzDIoCckUZ7JCtsa2j4iKIP#0R^u&u!5n7clpUKMufxDb86CLF2!$P&#QHyDDPk', '1luf7SeFnVuabP1LsPp', '8F7hBOk69L@8E0THlETTkE!BQEZwZ', '&') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('&!Nm%B4!zd9A3DEe36aCFLzLCy%VVc^M&bEg6kn2P!RqQ0N0khW3Uomkp1RvDe5lftBX&m8PP9UM!9#BS$ACn#ZHWjX5AZ', 'Vv0mvW1%96kLAHqg6eKGKy%kA!1Mw3eXKiXu^F6$#DsgGd6eZG^kdVXmxWSBUlx6Yu1hQ$hx8OL65NKmUTTW4!IVsA$8TA8G6moacUu#oxcw9QgRbuN1yH1^TbVe&9KEF50Onz00nYxDNaMJib$oT77ulqo1^e#eUEY4PztJjNJH0uhHvb$UbkRy%Cs$0918#hP8jH!QPj45twjY8NBTi82yUo6c6wyaMALZL0nUib5ZgL4xhBUtEeVUefj@BNKhSZp!Rqb^oNz7', 'h9kF@BJ4DxLYJuWs', 1, '6nkaMXpW4XLOR4^aG#S8FNlZd!ON8#t^Ff4!U0Z3bT0MS%7FvLTnPpdo2s$T9IN8tN8B05nv2P$SNG6fS', 't95ef1LYqc6!z6Yh5WCEqnmk0', 'IslN01rj&nxYzld$i$WsLWn1pfAW5SReTE3v5v6Z7SY', '%2icq4oa0NS4jmRxBddDi5#iPXTX$k!%stscgJLNr4SXgqR8krCDKmkY60', 'hydLUUHX@DfYzwbei51n6KBBPlj68A6gfavZW73sP@dObK3da6E1^', 't', 'J$xABOqw^Io0iob1FFawTp4i6@2#4i0NZ@c0BZcbThc1LcZOs0owi7aiYeuHMurMyI8na2wNr&JBb2DZ2kz4!JuRQ!imtCwn', 'z34ACpzI4i', '6VHBEr#mSWdnDhP9iW', 'k') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('zAVxP9BhEamaTtMZ%4szLKWN$jGqoeQ9!qk6N7ITSAg20sultpYuZb0WL7Auy0Zoqcgr8F', 'rGN0sTMAWk$^nl;pvrFCdjHHZHUb2cVc02huWsYq0Fdc@15#y1JcDkdl5zAaZoT88Rmi^iA2zeBF6uNXCYJ0zIGMV#pmZNxHS559KT%fxHJoPFfHTJF1MSEwaGu2!c9TN@T0oDbQ!szZ^h$eMOze8v#0xE^3n@mkxXHVTfhexV7iiLyZKemaJ@Kg^SzRF8r&6dr7G8swwkOioJOS65p8DbHDbqX0Nx;t7c4jqhCTXKobrZl4NKzPis@DV@fgsP&KpWgwJyMTUlMxhqRxB#&T6G0Lhxuv2kq7LLTCIWrd^M@%Mslu0OMwQbDQLBdb3fRz#ESDDdWLASVpLb^Wa0lkE@nz73X6He0O#r17;X#Z1#^md4yCo03!w#1givAmP3kH6ujaYet0prD^pc!^oAie7Vvw0XnhlF9%GmfPQnL9DZA4n2', 'CB^eR6zh^', 1, 'aVRi;2$0d0V9Iejr8%&hMQG@cAU^R$cKis3QROKV9sm^pHtj%CMc1Fv40ntUd^ohTaXfaAGpi08isIBB6z0dg', 'J$&FtkXGa35aeQd9t$l!YwbIyTYNL^a1Tycib#c5sz$enwmSZqDh@7RbRm6Gt9#cZ4', 'C#$xPgwnA$k2w5Vjr!7MN0yVWCHjEQmj7Gf%t5yJGtIU240njHS^$J&Bs8IbGcPQG1@XWYX', 't6ioKSSsj&$^nmuGKAltl3sLZd19jxsRvEyDNcPl', 'ldTShKvfbnAZ5qJEvwRI8SDayQUY!xS0CBNdZ7#mJ3l4gDy8!8NhBdIAGHiyXEmKCAlzKvMoBt&4v', '@', 'M%RQzvo!bEgVtw4NHyMg&uuso', 'eD5', 'mgaHC@25%GxXuA7%@nU0d', 'h') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('nrSn9l7wAxbkt0NvHjo$D%VF0kfg7yI&!7dzfNUjpq!3#Iwc7ADq', '#qDcdV6Xo2Vbrl$ce!w4Db4RKyU20C#g7FbU$3z^dy2YdPfag!kJ@UNQlSyL13NS7D4S08gbqxX40bD@hJSfghmjZrxaAU%0SfQGKu08I9it$IF0dEtnhwBWgR!OH5HCzNi!s%fUJJD7&!mgSn%$q', 'kL@o!BhxDyM!foLNgnFLEZtWnuI#i8Kb!V%eyEmiqb0Fj&6Y7HNER@ish41uZmduUA0rrwdI1mksYUCnnRVIr6q^', 1, 'CYq4^CRP&LvGs4DuGXAtyJ77xB2O01WXyR60$gtl2ToJ', 'fny$oL0A#ZRiCtA3F^VF8H', 'ypseqLktTikLecJaW^WcpJK0S&dqUM6Ep5t&hS9fEmw', 'VUrlJP9SR3VLs', 'w@G7bMk9QJ!3VFE3cqY$bS5a$%SE2FjVoOPKNp7r', 'K', 'QMjcc0IkAweLVuae!N70p4L7W@lUiwrx0tqgJFr1%&jZy4VhdZxUCxhL0cnhKU14', 'Ar4@Bkk6cqRSER', 'Fq', 'E') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('aLfwg9m9%fURAscjnbywjY@dEDbGeH5vUY;K43aQ4tA^UgJYk2S6uojR1ZK%N@l0n', 'bVFj9mNftpfQlzP!Fjpoz$EJapd297qGXEx2LPJPN8WqR9nu^1NX%E9ef$8P9K6m&GZO2MdWGHIq7dZ11Q48pAIiuhTPG!G32zragGriTXfm#P8247OoF%$u%FiQZufM1EnESNRrnSlzklmM9QLybht4C$dHmIpnHzlnqAfmlm0UIt0HhDG8QNAQaj1Wz94Ms%ZR0&kFAocVgGr9TCoP1gE!&Cb7yqUchjrKBpHii1EqALyBYZ2$QlLap^RuTc69A0D$dNDt#6v&Jcoj3HeGnXs$FfkCEcv5@uWA8Cm0kF1JWLybGxqb^wSKDHm%s1VOHq5dmVb', '5kOWP6@O9$7Si7uJb$xeoOjRi1vGjV', 1, '!a3VVAsfi5O$ojGBaYKi#m1%CNHkujaSZrdjFn8%S9ue3mJa&OK!HG#C96h7Z8R^!#3$6l$UQNxTZT@f3vkMGh0', 'H0z504Jnvk7iN5JSX9@99Kma24tU5oISRxuatOPJUusxU$m', '!Q8f9l$Un3$GWi7IlxfHxo8qgkLhVn5N3baEABIaxn5KT2^akVyv7P9BHN^UHL^0', 'DJ8z8QW590juEemz$0WGGj2', 'TCUzSp5LCvk3SNOG2G&hc9Qw7P^0oFiHyDkc1BmRdP1P2w0i70DK3nQKTns3q@m$cKBerAEwie3t80uHEL2o2FD0UHqK9j', 'i', 'Co@#YDr', 'VklCSZRu', '^@D6rqR0@n&VQ03u6MIUv$#ePW', '4') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('nVKqu9^hzB6swPq&AlynT5SZs1&onC!MC000aoC!vUc7N3wcUPkbCf%i3S^s0G@%HqWmOgVaPEZ&Y', 'oBTBE;0lbO7pq9QWZevlc9uD@0s%n^qoFFYm5mN!gz009vRFV36JeWbro%K6kb^cnPQRhtRCyC5J&ttvpT9kZO', 'tv^7IGE4B$JqL&mqiz0IRys@zeNy3KkFF0nTvJ@Y%082R3QqvO1pDx^@33Dt!61XI3SLHA#FFhKR', 1, 'ul2kI#281sQr5w^Y&hpNg4P@TsRlTdAJZ6&D3MdN1KJdRzz9', 'S80seqD7yfaNkUY6y^xqUi3JMDqA0iZI10rsJwYE0$c^CkoWlK0AH!^y5mNH&2%fnzLkrvt27ZpY647r', 'evhn081!mlPfF^^$H2F3tXf^tPz6r0elstUx^&zDjy88iYir!9t4Sb8', 'j@gE#xm6tUbaw^Hz2Q@O8LB', 'chD0zfkviL4h', 'n', '1V37fsaSAQsdG6EoQwPeP#@DXLdjDg4r!#7WxpYQ7RGPU7Wb6LyxFS25@wgAdYejM0jK&OYqE^8^laP', '2cYPCT8Z2#18mCfCl', 'UacnU7ZGJ4PQNyLbKmA9daS$', 'W') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('sYs&7#@LWV4IJbuVjbjGIpCeS@', 'pfB%VHdSHPIRD0mViZv1M$JHCIF2lcdcmhkFj6T1^JcAzy2I3N$!uE$sC!rc2avtAuulLNBb6t33P873F%^EgkPPkY3pLF&TcP054N$maRU0A!KtTnE5bXcfMM1TKbxwufW&82&Z0ItwwOdrdFCm1@GlCQpoM9I&jmCk3KlRoM4AtNQ%yFF5F0vzFztoJHbX0tb9bZnAiS^kX6YV&rX6ADq9Y2LAf$8OzcA0AGSFh4STb0JzHFogR6ms33h9cUkmKfSJCYjpFgUvRD%OpbZGEX$tX7%xoJruQv9#o0$Qk^HzhXHv6zQ0@KOTjoSv@T1$VpMlu1ppf8', 'eta0vxrV!qz5NlI&dxWy%LKZ0l140qRTo9EWcS&sqb3uWGF8ppaPiSHAPiX0', 1, 'GNMDOSTsxt7SIf3zNZLQe2ACy47@#W#4xzU9@1qDCOgVKWYzemtE', 'jEb95JLZxIx3k8s!FLx7cwRLZIbELEsnrCff$R#NZKgEnHBQ7lNO6ANUTxgsx7cZf0HOZb%VQRezfcng7sxpXKgYVssv', 'fSxnoc&TX@oZ%lldDG0&l5FU1B!QZwPxlgBt1YV0hkBD0^N#BHV', 'zcabJmTje!qaXDMRZbMR&O0z2T3V%dhH', 'S4q;A1X3q0r0r0aJu', '1', 'bH9Xj%l0IQeKRIqHUbQ9KGpHIHVTBTz@W0YP8yg3A2PqcwHnQ2H$hc7ChydI9zuWfjUQRHyk@MEHY^t', 'x', 'aDII!kxGkE@1EZ0Z', 'X') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('zl1CFvLi41IHw#', 'IbXv9Z0lRD3^UAA9@!0VB63tGeCi$jBIexgw&7&HlLR2sNuzwyNC#V7C8tW@mNpx1rPmj49U@ozXk11ZR2TtC^MqqLnCg4jEkj00%8fso!ICkgg7s$0j@$@3Lo#FMDCW5@B110#JTp4Jm059tg0k@&Kno%lFbGNSmSxpLf6r1xxBZhMAjTbvsh#5gcI4KlwbJhmBILucaOity8v7gRlpuho4Xs9yE2NL0kYG@0ZEn^jL^xC8NAT!07OrZhLfC#F90EscfVb6ZN1w%K6oW0R3eUKZDwNJvI2soaKq5oZZoM0j6hteblqCaC!c!zGQ7zHgLF7S0Mjw7Z', 'UqTl3yx0hwgThwwBP9RV5QFx0Idv2!uiYqpzNkNF2w^dnjAzeOO^', 1, 'Skaqj1', '1^#Y7%UtraTERq0X7Lgjbva1#lNr0lk0pHc', 'Jrh!jC$2XirajjFQTbCU!#Rfrj6XSd0cRyti', 'YZe&53lgW1MfCuGBuOG1y0w5gI8dqSWlRsjJF@W', 'at50BILCe3MI%ZYs9Ot@8X4bpv9a%$zYZ7mCr@L&tHaO9JUAsgvbsTSkpZR6yAFizVQWBk1d3txxLl2MHFOMwnv6l2c', '0', 'Z1Zek!%&7eh9^kkG3W4v!S!SboKAz8z3u$EvT7OTKFGwedwR0', 'I69', '862', 'f') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('&MdK2NVT$8hRjasD%ZZA7^X%loxnM4SCg0HQ0Au4aEczUni', 'z53mZo0W;Jex7YmLA0AIDstVoySn9%5CIc&OenRH@PbRVKxkc9T9q3#IFxAWdx8qEJV@YEwco!NVgJ0K1x000$aEgn9NT#ssGRcbVDsFIGQxl7q$xXVNm8fIxgJAuPptwjdvwUWt4BnAbJh0%bf$6L5yBALE!Z0!gl02!@vK1qJSRMvU^zCizsmSdL@#9gAartiWJff2MB#M2jOV5XGqlXqU&eUd0ABQXxpmsFaOiAC%xHQ@%6WiH9VA3vXts21b0bVA@qrwLZ7Sksmnv!f@Ki9NJVj%OOkgyp%kSe&CKpDP13fG9y^zS7xO37Y57tO%DXi#v1Cf!KfjLpMFFJVfPSvrYehLn', 'fIGaaQja8$OF8Xd2JrhwtFydSqY3fPXZ&d0H5eAVkyNi1b', 1, 'Fi6t1G0rpQZg@o5WG!X', 'uYsa#ZecF3mo39ETCcpwKVQ$3EncbCtJ7earJh5O#eQNBYXfx24Mx5jF7w8nA203FKhV^b9j7HBv42qbN8L9xNb1#Bjc0OcZ', '7YG2gkZQFWzUB55#GsmYBYxfZsZ$0ouIgn#zBLXpfO8ly7&e7d8RClaepq0Us#GfrXDd9Cq@', 'HUQbORsKW#fJ6#bM9aB2%j7Y@HAS5AUdeGLnvdJoqP6L&ORH2ttfpy^mMYh6gHEl82uwgVf#ycIedsYbWZQI7DVMHnHE$C', '0QC%ikqccxNbXQ8i&5gnY$eAdOVZdI&$4Y4uW@ZByCuFXIWXenEXkRYdB2PBvx&ByR8^LKt5cMWk', 'G', 'Z%KW38Hj&X!Uan50DZ65zXbB@yKF#DM@ocIxU9xq0U^VRF!VGVNFAF22', '#Bu', 'sa^v^MDburM', 'M') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('QkFV^6W6qQ0FMLc$#8vCKS0@92IidUKmau', '#F3hC4EMV6YxguQTfkJ^0KM$tCZC6TtglC0m5c&Fdu620a2P4X6WRqwg!6V0b1F1IHaKttO3k4QMEJSiz9yeMDv#6Qs^o&tbV4pz&olG83BNGRJfkBw2yql4afEK0QKlGEXzihiaUZ7I2Olk6cKTyqKuPknQQH;pe72@9$2ikeGiJ2t!iEU6YTe!sR%@yqciOiUHiq$fHzcb3a6i@Ww3TixsY8xo^8Q@1nBpeSGZHDunF2XgLK&J!9wvRqQaZEhyQi0LGM48eEreU0TVhgJj870ZY5EU2v&2l#ElYaG&GXtlNgHHE@!H#%qIihU', 'g6QEp!YCw$6', 1, 'KLaHt%f8Co7nB#3Gn5YoRKNnmP', '%T1gi9^E7b', '1^dfhCmGtmOATl', '%', 'L!90PmW5s%vza&OmTwx5RstJH4wu%J^', 'j', 'fZUuZrw@J^UDB4^JAvOzhvvyKXr7Q&VfjDyu^1EJj', 'LUx@q^&uaBn0Qtl', '0', 'a') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('Ei^CAKyX4fQLQL', '19QBJK$tO1JfCJ@m6Bfe$Uul#jw8p5JHF6&fr9w!mBVz1ikrksEeu$&cKtFocU3In2HvKL#%5lYq&#kI&5T$wubI7SB%z7Myxba^IVOGxH985EcP9$p817a!W^nY9^t^GpZURl00mbvWk4DzETUCOEwq0g9JwXxycayLLp^U$eRVHlFRrVil0Yg1ZxTzbmJwL$I0BYUdV0GyTIPKInhIDaol@xTcCuHFBj9LJvfz14x9hOd;9YV51!AEme45GIpp0%zy41c8OGyKe4biCutDTAzqF6mfaurs7QhQLOK7LMmqrXpi2SzadTDvt8Z^L%%ie5CuTsEURlZ6c9&PN3cp#fdjcSmCWLsNP3alj@vGdMpZ@whk90hHREn^Yhh051%6!an0%JuSDCafXlpMA2tMtS$aMcu1IvBbOj^Q98nvLv3ds88BZCw3EhI8dcuRes980&yDmFDsK%0%OOOE4!', '&xEvHXB#JD', 1, 'ctGBdj&4oHhKpvuXMlj29zq2#w3HP7MOHUAk%zLW7@8%d%x6xTX#^jSK2D;fnlg@z3B@0ZcGu#dqtU^^%0#gRQm2Xhq', 'FPFX3K!#am@KkznDjFQIPhdp09QMz4YyiJVbFzp942TT0Cvf^uDJHhdnBfW!@dr6vsqILb^QeGDMuqouJAN5xdX1uxHoJweX', 'mEaUATwTu0KxZ0XrfpwmEhBpcdAF6OqN5O3RjW&!EKQXn$EwyhgWpj852SGmhYNMG%ra658q', 'P@xL1fF46VxBmSF^PxeJHN%3gpBspt0XvUBdDnQqOdRYd4GGC8mGaN@1$', 'ILcKJLH6zgqqqOV#t#5WbQ#Xh7zLOZzh9Z8LAz8cD%7oa', '#', 'Sx6YEhYQlsBa#nGN9hyG9q@TYhdICLAaI', 'rtpAHf#e6C1HGxI1vt', 'rDi&l3', 'c') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('qzDrejPNXqdaUfWHEa@J5OpbAV0qeD&OEeby4dhoiPCY&fP39Lu4i%TI9rYp9oyjqvDF3nDqZCqmbybj57hz8@uH', 'oIlZe@fhxzJ0&R84bNCvwHeDk26^av0$cA&@40mw6!1JH@8wr4PO4#3OtPDcUh72yM%vSc&bq5pDGB#p!FC7MiYgwgwls0IVS&0@%JLd5Cn^Cw7YUdieL0lfVM^ANKQftBRGr0sg@n19#ZK00ExdXt9SJ@6gK0xqT7B1LxwTR2jm^bj$1%q8bBp&r&$w@bCQXHmVmJkJ8LtV9STxH0eMQpdhOCFMA&ZFvAwnWuFoJO0x8AWFbvWR%X0xs57R3F88SUpFlvIb', '31pN9cM&A498IEz&@QnUk3FYLj0gjMTKf7T^8L#!5344^KbR5mBYUNA&sx1W2vMVgvZBSAYeUtOh^B!08pa%a', 1, 'TCGK6XGnfTzSH&Bvl3p^i0YE0NJjPKlFp^&^gBOD8!POqexqGyVYwziS', 'Jodl', 'w!rI&CdQlTXph9dSfhKfVu8XMcidZooTkbhwTVq3j5BJJ!zCVX9#HoO1', '$Tj&Y%u345XN&rYH$P!vdSJNp1esb#ufLhZDPjcDeFVuL7YO3&s^8l', '9DGXO1Y8HH2NyjY', 'C', 'F%e1h9xobzw8o@OubKmWdNM', '5a', '7QrS6Oc@BoNfIMF0yJSQWM^', 'w') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('gq$b^iF4Q4micBzGlFFC17JCsou!rSbl5X#AEbO%2HW6bpFem5IGXuW0OqQGULI%Y0dmG&19XIzphDp2PfDl9Bv', 'S', 's89m^YdabhEn4zQd#wYa', 1, '8mUlBEmVcUNOzcqpoeWwHehGSgKz!HcLhAdI3YFE#Q0fT1LO5xSSXp%Z5dA', 'T#BH1w^^OmwGhBX51TRB$trVqVYDlDWnkL8VFFSANQmalbFV6U3qPP%ozMfbFqIaw9kDs2vr1gVb7fzef3xxzuECOQ', 'oF@l7bLbX1r4nIoy!Rhjc1$C!aH1APWJND2sly4@BmndHt9Y56I$x0LnIos$AJI8bPmQF$brMmPWKP#v1Q#u7ZaM', 'Q%58pYLf1Y6pi9!fg0hVK!s%@RNd0iEGY!celD$YatN4oIxTAXI0u31WA8cFaxeOiwxo#L', 'dqKfcoEij!J0HDaVYmKcqnMKe^RZa8XW#&T4oSJbA!kgU47LkIxF1NhWK&0eEL8b2T', 'I', 'w6KyJw2vW0X', 'yHhVeN$ppRuD', '9d1Wv@cbq@y4SUe0Wnz7GBQ', '&') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('N6kf@ULZgVkr0qmfnl0#9ae#64OaEu2XB6w56LEf7@%kB#oNiksIV&LBYp9X6zkTSuX4!g9JO!Vec!p0M0Z', 'q1Bq@dNBO0D', 'z75jT2bQ@#awn%&^a', 1, 'rskK&3s70QgF2qi5rdW7hv6q@CfNCC5$Dp7KQGT^QI@a@XlCN!PYR@z#m@PtTLAtLj1IiEkRqYmFB@', 'fK0JUcb', 'bmWYpa57wwGVKi8E%w!D!pstLc9KYGx8oR7gu!0Mhx5tXeBqY4WNi5$S@sbc2qfX&xvZbX94vckrk^DvHOTTRR', 'Vkm2NUJYheuoQJe0#Sg5QAx#VNBkE', 'eIb4XA7mH', 't', 'zeM^ySY&z', 'jUqd0iniV9', 'DEnwVuFAmqrsF1CTTC6LY', 'R') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('Zlob0k$jy8p0l3A', 'b!r^E&MBwi2AV@Ukm#8;b5u97ZbIwyCSIwYHajmIGJ2!PJdCW^7rIX&U%Wx6z!&QwPct$JaHREOz3BqtKGSyr09Rw3KlTg9NJis&wQGbUvG49wRsv3r', 'xnmGs$Z^WUAv', 1, 'q%!0FK#z5H0h', 'PVeFb@6o3TNd%H6E8G0j46xZyTsTBR$HN&5LgrKW21!6jrNjtxzph%SInm7oxiUiX6x^CqnM$0h2cqF668p4gD', 'csn!kloPdGfd@OO30Ut7MQv$N0ho!P1iNPS02tqHSyUC0rboql@t0g2t%rck3&WuF$wb#D0MsT', '#ZSlV!^DVE9vMobHg6D', 'p%d@0sTld0n#Wy5FXv90iG1U0wDrpvlezzB#EqVxahGDSAWW71pGtRqP#p!zVr#OL8', 'l', '1wHIW1&u1wGNjo6', 'O9T&dwkIQlZYJ8A', '&!^R#oQxnt!77DI&nJb00U&m05L7C', 'n') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('mocM&TQ2xW3qAIPfZlvnQTb!IRWKJ@&5UjRevinXr7J%$#vt$XK2ZO3zbi4e$6pCX%DfYzRF^E#I0e%Mk', 'Sg$c5gh3bd8@lO66^ofBs644kSro$lo@znDk!Ry&FwFqWJG@38^m5XlLbYZiVZ6WWdr%0RcdWf$#xKeHawlVn1VI2Y92Ze0NqPBHhJQh#QwW@pdyIg7oChyUpP@hI0lH5eBO8DpyN3ZDA&OJKGpH7S09gNhyOxGRuWQMVvp4XFHzo@jp1hE2RKzi4rxrlXQft79Le1VdfkQyaHQltYxwZD0QlxHs^^P0Vq5gSF0&tqSv!17tHb%tojnW7ooOqrfgBQKQCzzVNx3xSAWkpdRT1lHA3e0tfsF1aA!0mmX8I9MYfW4Cy3nbGtff89Nmo6EkZ1mgGM%2mJ0YFQkdaD@c5trOkK1dGAPCAr^dyT#T5kV%inH', 'ybRarevGF$$LQsT!DmdR6LoI87QEuu$3Io7o%r9bzD!W&8kZ23M0sEOTT93kvYb0&!2rku#bd2gySyI0SXB', 1, '4HjBVnVMIrPX55!ED7zTqme1kw3yFlRr3i%Q0!7UolF72IC@Yh%ie0eOrifnkl', 'HnUT79EK0Lt4O8^J!8HmnxbZ3foOJPz2eh', 'VQTOKjizM00jjDtcLQ&9a@PYRX0gbqWvIjV9kZI3eJcZf5t6llmuimz!1#%Uj1mkkAH0O', 'T8#@yOWHMs!#W4qbkQ@8p#UQclYELtsn1uAmns1bbjgqp6wg!nlgUbyYjaNbXg$h0B@rA4VZOP#5Ksq7VGLm7aA', 'I3bLVl#n^qUb5NVzty4gscXRGmfCFaV15uY1JcZt0OL2C#QZWUKJvEAubq5y5oOUBT6GWUWfFHfKxUdLDmNSxbBw@sVi8q', 'H', 'wQV931%t3VoW%nbp@OI$mpgFLs^D7eiEKGnuWtjLU38N84vx6PwG&3B7zftG3qlVCQbn0OAwu%9igAwG%xwoOIFG', '@G&JI', 'j0oZ8wod&b1@hW^PUJB!$6', '0') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('QT!xRlMB%p8OW180PwDMTq$Xb&6y', 'gdnWMBkyqMdMYFH5UASTmsDWwpX2kSecSR9!p0kCWg6Yx6ymf6bCN%WUHyolKhcFx0@7wNMUee$6mMnpYzTdFIwU@kiYH^ZE', 'qwarXyqonx1Qw#0&uav&&Vz7bauUbfmo2WkXdvIjTfk&TaUn', 1, '94xB$4fM4Db70IOGGjR&yabQzAk0m77AMFf%oP!0f$ff4dV0scNtXBe%YO2sQeo%vHqBsQhXp', 'C@$LlL0E9pJJaph5HNxq0DiQsTjOI#X3gSJ2#2NNFHeES%fa0KG0YfO^Ibizrr#dyGspNe0F0RR', 'L^uC8E%lNb03KqPQckcL15bAXu@A097voG%d', 'jU%YStsl2VqWTvDLmFS!MKJtlD4AL4sB#g1pO0iP8Ar59alHZKjns!gGaACdoYH^sW!Cud$cm3SahDj0gsI0Q492&qddD4p', 'tJjgQcLN71p75oDfr$#eHdnNYC3&PFhJBiU@0!xf%jJ3Q@@2H%a8t1helDpd9M%xQMCTAIfyvMhmBj$$I1nRt0fA0', 'F', 'i6glaj4o7x&OJINP@K1GsC8ob4Fv2S#2T%bF01q0ZEAzo3QxyR6@E', 'N^Z', 'KEl', 'B') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('Lv8O!i1NV2E&9j7$hM1u0XvH7Yjlkid%r842q2cID6iLpZ0TCI4GAx@V&wG1&LsBUHE0e5BezoY@ERgdYwPJdEs@df2!', 'IYJNXPk0Dx6V7aG0gefr0y$PnfdKT&2IUnN&gX!x!XZgDpxgjc&TK&09#@pHBHcEvt1PuGQplOyiFLb%P$p', 'e^UmD4lxh$hKjS9nOTKsFx#wOz;rZFhDEfvdsYCtY3SgFlZ3G00McqN2mF3TE6pn06MBJ0l@7&Ot9f9dnLRYuCqdytXUVPWSKu', 1, 'qwLeEdIjZ6vVv!kxZtMx2fix6n9#PL&GF0k', 'f%bBeARn&j$xbBTT8k0', '8g4NAd7WfuE0kJwz#ULy', '3cuC9cUwM0', '7M8VKmJyQWnxYZlicwvL31dYi%4!1QPuZmCQr69oVImdV%LgXAieKs#5yfCMhQw06!EAmBY6n6XrL&2kiU3xwzQwqwhaAs65am', '#', '!kIcYEBzqydgtuN&', '980WjNB@0Rg', '6$8!OVjIb@Y6P%j^IoaTATg031', 'H') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('Ri2G7klA^af@$chPAQh#ns5AojL7WMZIME0E49W&J8p0DGW4Ojwbo0endx', 'FeKhhEdo3KLr!iif25%PuHoBfNiLoSqCY3ptt7O&rx04F5h6N^k9zyo^W82Bky&gi8zXZVT#m^m$Gk$0ub^pwh3pKrEk4bKZyQRwCrdYbpSAarnAbZ68AFQ150bxgxX0kuuXzvE3^6d7wydi349b6Cn!&QrseMHLyHfN%x1Mj39uqJAC#!tcnK4O6BYP3bVhuzEViwkC2tZ2s!yleWwkhumUCxHrFhJ8eX&Y5MjvEY0@S1lb3CAdMz0&bQhRV!$RRRUB@GgzC1Mqks2Bbvo3OurLX&MktyGL#p91dQhsk0ILTGLPONFpAZ2lo8L@!#53q1u#j0mrc$ONTNZgk%DN!f02mUJ55myp#EjSaQvNpdbE0lyHftG$oo0aXsFvnglWtoSet76AyWmM3BY1k1WIN', 'D', 1, 'a&p9YmaSzjd9n5uz1t8lBDalrK9YoeQlbnpyvdUNq6x0UNkI7wB00EcDV3NdciskAY$&L$3UGq', '60yKpwRYJPkD0TJswGz7Jcw#Qk%atOqFJPxLA3VNxAHRD', 'YiHm&YURZJD@4zGu#oM@rl^YtSSF9CLorv5YTqqOW%E2%9QdY6LsYutCkP!d5dIm%dyFtOIB%%4uN$!k1EO3', 'x$1yD3wbIIkh4QG0Q9t9u!p&VoVF', 'vFvLNCD@aE4Rks9vY0LYUEFOUEC2KedY0bbMSp24DV^V4JE%W', 'w', 'kJX&OX9&Ag$qcR9gsJy8Gj^GRJ0&FbkOA$LykM4z!52D1uYZuNsM^Cj1Kge4M9pn$dWf6H#NF^eBhrFlRhBYQEQ%JKV4', 'TQLKGUEHSURM7&nOPiI', 'tEyEotZDs', 'Y') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('buXDRRO0wN73xQF@@CsFMoac5hpL4p2!xxUZYbyX09%YrBXJjIxfvGZTjKxy', '66LcB&$M3O3BuCqjRzr', 'rYStYF0FcK0v83Xbd&YNDFQb!alr&Z%7KGKeZPKq$', 1, '5mzA8D', '&VT8GAMiEGjMZRxoIiulxQwPL8UVTYYltDLSY6ie%7owBn0jV0YV9', 'fo3sx', 'wMO^hl6MxB&enpr&cn%z&I&3beAvsUKSz6HIPD5Vd9JmV!XJUpX5zbYUNLT3SHiJXdMgPQfGh9lW&JdinYH3%Fh', 'T#3R22CX&vHcF!49gTpX1', '3', 'L@&eMh#p3$VbWf7P&0cD5O%D@NSYwb^YDgm8DIjcLUC%e$qDi72U', 'u$$sk^w3ZX%$FEZ^bn', 'Y', 'b') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('%leFo9a1JSqa0nkNI@L&hmSKj#L7W2cR%4m', 'uANT#$SyU1&riflw05GzBktu3aGFGd60Ivcq%cmq0aw!LLDSXj$^M9M07iPRlcZG@^QU2#zTPfzpVzPoEUOlg7kyP3jLtC4ThW^M#PQ#Q0fvGlkDAqcxvCpUKh4&HVoc', '8^A2tV4SB6YVZtOM03pDnLwa2KKQj#R3kZdl3x%nsJ0i#VoHg#KlUEpsyo&Q0kyGlVA&esJJ', 1, 'Kceck3zohueNzRTKxdc8aq%7kprVh1fStLOl9Tu7R9nXFUvtF&aYV2zif8Z#HK7gdtiV', 'ALP6m136yx!^fhWo%rau51@zv727IbAHq7uv8OLyf9Fq1JuVqW', 'JEsyRfGf&$um%hD9TqgeNJe#szxTIcMTMJ%SK$LZ8uzjLitP5l10Ef00pw6;TESfHGjkRuXLn7h9#g96OOmbMd', '%sdWt0lXO34J9ujY0kg9ZXtf%a&5gGzt9Snof1hdSrrYcv$jtv1', 'mG6^%ZiafF7zGzn7#H932nwuC3xeMISE8vTbgpi8&3BTknC$FbxVYo@&9Hs@r3uETyraNbWCo04&TK0dxBFz0%NQBU2F$nN#', '%', '$retm@wXj#cvxetWt@tVSIG!9fG0j8qVKog6lbcexWvFHC8N@XxJz0&kRlj6kvDaAnR8%nAhOen$b0', '8Z5sHOlzp$k', '6@1hj5jS0PDme#kT28R3N^rpaA', '1') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('12ApHjlLZ@&R70y5rT1NmUz$a8yI6QihA;ATWj0xmfX4#XhY68&0ArczDdzSJF8HNgXr^iCz0f', 'JZegfR0Hih0WA1eHQdUO7emL0W!TCw&jrFXK&iBZFwoug1Y$3@PTshwtBzgqYc5SiMt#0BIxJ@9GXYu&^$QIObY98s9v1a1srCbAD#Tyhh0x9WDJ5hr#st46UkTNscvx!MejM!s29hpv2q&iWvpQP6&^x6Nh9564TIEsHi%aVpSa3F3skzY$TLPTNgTFc0Z4akJqTCICxe@pkU@Z2j%Fc9h7!RLqwn^LwN0O#I;YkvERpy!l@CZbjY23Cx1Yg60feZDTc$qKeNYKJmzhS5BR6ycW%KpaEXHeknBw@', '%bd%C&opf%Q6b', 1, 'MOWyCe6o6JolS3nL$DEYBGWFj0cVRuK#dVRbgGr%8Evm&4u@rqf$Ria5Zfds1gDI&s8%iat', 'HP$azGfMispdNa#JLj', '&#X0TnC$xHg%!R9zd!pG^MPVdthgbjDXs!cLY#nb3i', 'ark#1rvR@qtib2Tp5kQc4pB0EtHhCcCLx7JS9lfRVT$1v!zW9^7Oy1DSXjnERce', 'PS5p0fP5&ogsAAK@S9D6UbvAX#V^I&IDfcN8tw8OnJzJlomQKJ&4HG0ClAy5qRt&NJcmTBwk0VPaJTdyF5j', '0', 'FbaT!%3nDez$Ia&$9bK3SYVZyl&vlwu^9NEaIODm$xa#9XCmF80TmA0NnhjD^D26QAU#DVjqEm7kNZQIQJXclIIFCYTqt&o', '5aE3GQRVQ', 'sW0uyHUkNVQ8ZeoM1!%F%OVHOaF9Z', 'o') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('IbMXoZSb3HGk3MVg4Q@SF2K1oMm2LrIwcKf2JVI1at!7', 'KvRYVltQVGxLxIBQwH&97ovSEe7ZHb8DT12YgTDl3sWGB^m&wq$h85fl&&iFdA9Ix!YwGJzJ4J6KyWgGZ8sgeXvNSMZhA%7yjc8H6XoTXidu&BT0PJN67YtHuaK!Rh96BDpkNFz1PGp$I0OgZPyXg0qsQxc#cu1F97Zrays90', 'xxw^tst02PiWAc%AfsEVjFRTB8m5qlpNBJ!@', 1, 'Pu^WXhodd%cNCW4YNKtl5nGNpCjYi3gNJ45WG@#iP8Xt8IaLE1cF', 'tqVhwk^w#0Mv3xRegTO0C$wbENrEjgWIIfHK0otHkic', 'IFJ@oQqX@Xw!IJP!pcKk3UTX6dZo7WiPQu#7OJ@wvROo0QoMLN@6zrKVTTVaY1Q5EO9dNIaNh', 'i6tMlWcKp@ceoQ7k@VQFu1IRsH0^3CdVmDqPp7zkLmp0qyRtGmgYxDqhtIjLMeHUNoZRon#Ulv@7Hyq!WMn', 'lmPc9lNTUFwMCt2F05irsC2JiH@hpV&', '#', '19Ef2d1xWuq44njWH5jZPj6!yqvs^FFR320wrVfd', 'ce', 'X!5&oRHGIO2KNHPEy', 'V') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('2m', 'SV6xK7Y2$ABm&gV9tqitO7FuTC$qhBUDhCC$B9%GaIR7dgz^0wDI3pMKfHK8awQrM%5tLYDksJi5mxgB2%qR%bzZWYM@uWvKYpqfb6j8Zheq7GnOp85c6&tzubDUaJWDdEc%61p$KiYL%8Sfz^BmQhEZ#YR&zv$fsHcysqHnP9zU8PClqnjc8zU#&k2efptdlHim@iT9mcE;QRbkuEabP8ZTg', 'or7oMkxwver8', 1, '#cceAW@SSh2DzpzJQLR@5e@tikN53wG0Zb%F4jDyxlDui@$6MOoWp@WMiQ$f8VOlH1Kms!Fv7htPIw0nnGpl7RH^mgmjm', 'JEhTggFKS8ZO8x73TFEYyurdXqM0aDl9QYQaqJ!', '$Ddd2ywfdAKOvYdb3$XAEyeSQ^fN#J9Mx9BYd0UYeR%2Iqk&C&nM3C0tost4iPjAq^gmmm%38^', 'Bc0pKga$lsI@^7zSCQFwxsHJ9%Je1jE4gmZbh4q2Dne^llnfUbwopVm9BwfME$@1VDKIenzypDZ9cJnUG', 'VUfLr0PGRUKuHsc9OIL0wI%^T$c$Y9s6aA6dFZhI', 'N', 'L8gN&zFa@s@cWgZvUTPIqEi6m&AWp3AQ!ijKLv$nzgbPG!nn0TVJ^6j6V0q&&QSXYaiC%', 'nWq80sAwtHbVCeX', '^cVB5$oPvkXuGRqS3wUE%0Kk', '$') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('#eI0quEQoei!1pK8J2TWS2zO3cWVzAY8ECUfIX4acHtVd!CEvBHH0y1ZL@$cFPgVn0kvBuvT^HJaFLz9', 'o%!f^6A@AN@XCtpEw3F6215UIyVXj0qTBnqi@7be@G!PZ75eR0dwAAenY6DvgKHAm7ke37KpYpar7m#AtG5iS@h083qVzM%g&prRTWbJmVFapTfB022HEoOrVj60MVWar@', '@0ODur$%l7HkTWKwKmIGI&#yQb%x^uPuqyG0kvcbsQ6OJScWaox4iT6#dfUiuu^Ynb@kfKbd0', 1, 'dV^^7mF$LbErLT4I!O%ReqwXYGwci@UEd20qVjn8p@J0mZBY8CfNg6KTo76wWsKRn&cJSJTGpVrkOvz&4F4MK6n8nc', 'cXi$fZInLZ5uQGnrKo5ZD7rfn^6hH5kFH4syBv5WUbjbAG$3P#t&8905v3EhSqMGEwULcVXej', 'rUfLO12z', 'kwx@m3xXT4twJE4SgX!5eMZ4PhenXfPX0^i&lQWSonwaI@0HH#QbGGrFEtb5U00', 'CwLl5wx07MYeOsU7EN@vCgpDJrYER%e', '!', 'uvlCviby!', 'X1n%ft57', '67IKEZe0xz', 'Y') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('Hh0vcpPv2iBXgTOSiT7QonKZXq$os14^L^m%i', 'oCG5o9OIsrMgzRC0jEhETsq31eCbhwQyJZOdOikQ9OA$MQAd8%2p117#bC49CBp#HdEG2nh0iyv4YtngKo3ktqxIST2beacDoFkyb!bQL27zC23OeTvdy5xgN$Vel6S7kYLi8W4QbiFri%5PQj$rM&5j74Rf5$uFf0dLmQFpOL1ew6%PX6v29qqlSra44VLfV&aiQqr&KDJ1%WT062p^xsvVFZZ#FBl!0Sqw@L&vLwnCOpo#F0^1vNPrAmJXywq9hP0avm6q3!i04Z7fA%luDjui3^#E28$e6ej^ocwh4D^BtOmHetmB0#B^kO8wqxo#$4!WF8Xmw4p0lZWkHkpFRr50JlJH50YCe3EoUx26C&46CBIrYTV68Q0B&QbivfhwcTRikwx0hi3Sn^E8JhPhaRuvZ3p4kPHlODZPQp7rlKUWMoc0b4Fcw&krolpg7sVzIN3Q6Vn', 'n$x$EPAWoZg0tVO', 1, '&WkZWkd&ks@nNl392UuQDVqOAEodYlxFt!jj24HIqPft', 'AVqMLu2GXavDng#&8^@l!T1P6^bToVE%i&4AUbG3CU39VvMqMrHhy9', 'THFNhfg2Cxjocqa$oYP6QZ@HhS6%cmv0nnOcCZRmC0CmbndkfLZGpB%@M^vw9jVe200WJ^pv', 'zPlDv!EROytVQTpTxEtkcibmk1moHgktA%1dE8yBYo', 'SdpdvXxR1RegC^itCf9wc&jTSbdo5YtVN', 'B', '9ZRQArPOQHGW5^Ie59S!CsiI9L0npzNtbRtmoNJDB41AEz0ZRGINQc6NG8HVhrof@', 'kBkXnvdoyqP4F', 'CQY&K&LM', 'f') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('l9MRGrWLnwQjhBVDlX3191VEo@yKFVEGiHZeSG8IP&Z60DO807pWb4Ljk7sM!b6yY91HJFRMPqh98PERbqz', 'Ote#E@LcsPD!qdXC7uAlK7SSCaByHzzJD30MSL4L6zlILfOAOd4#^bRHItptobB!f@lm4aQrpWe0S96ls0RsuDKqhy3olHm!%srR!rwDuJB9%HWym30nq8uIf#5B7q5PzlcpOls1Ad^S1BtHJB2iG^zV%PA^l@w3DTFHtwR0G&Uc0JGKxtZBoT8BTnr^RuLFO@de$SccR2JH0lLj8XwY2@LRL4V64Tebjeuev', 'LgLRl9wqwI8W@%TDUftzY$79%Twn#YwVM8SHn9oHeJot#$kdwIH^2ZWO9BTzJ8vEbj9SbaeKX', 1, 'Kc1yhXjgxSUh3ySmW^6cRgITy2ks$7fEH0vnS1qgbnKxlz8Jtn1Ud1TsBd&', 'XjpCeHZ2tAUEV0sD0x^@H^F6sqGm2TD1aLl4j#7ZeG&Tcfo0qWqM1k@Y', '9V1C0H$Tt0Lnieq6L0^SZc1F#crY0W', 'p&SiYJ;WqTel2Cbl#F!ZZr$TrGTf5SDph^it8d2pG$', 'Sj!GfB5fWAxEVvv2T9QEeW34jOcNDAi$!C08Nc0', 'N', 'OxLEIO&Dxb!a$fVmxnnJlgBLhunlG9fYYllDE9B^D$SR0r4YYWyb', 'cw$0mcpK$n#2jG', 'OnTo6ovR', 'X') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('uQG4yc9WHETnFZ0tV%7t$F80o&EU0bkvT!ebOXz7x4H9BvQc', '#NQ%zVIvLyEkVu', 'BMJUM^t0#Y%^F!erv^fEMVpqAha1zcfbXd@', 1, '$iQ1HXKXSibVXdLIMlijuTswPIS8r^aZ', 'jl#TOzWrpOmno%bBdPfgY0Wii&5CuT8j!c@oMZDQt3tL0qiU#WRsIKS0wJAPtj$CF2', '2TWlavTUM09YMgGE2M', 'rRZ2nVm06Y57#7R9&ugbY%', 'AJ3bJoz!qfQh!U%m9IOV51#EwwEDuvmu', 'D', 'S0wOobNMmzfbx@2eeFgyNuMbQ#u@Zl@mkiA&a0wZkeg%gr6As7ePm&%muj^sNSU1FZYep', 'e8', 'ycP#nV@', 'R') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('&lkdBX23byrfonAY0p', 'G&Ru0', 'GDTj2#s!B!bycb5bM6%pDT%R8O5B0AW3Wyrvp', 1, 'u^%%YXUAU5nblSTG1akWXZ038ILQFSxOJu8V0TgXg1cvxXAMFWn34u4C%@Veb4@1EGzXK^Gd@tEWMBBg8^aQutKeqCX5^', 'c6aYYnJ2Gf99GWdWsoD7cZaD0$kv88AfZOqQAJK!u$Bzkk3obMtMq@yk@EO@3c!xM!fYv', 'PLKIfmIhVZ#jrKUV%f6V$#PWg23Uq4b', 'qK1Nih%ilZ17!yUY5iHpFoU$UqcjUYRN3B1&T7L%8BG2NPmAf#kRAz81X4!Y4Kvu8k4owU5^E', '4PSe53J4ZC&czs&9OdT!t6a@sK', '3', 'mcXh4i5WUUrGCZ87B#xLmQRRT%DXTq5FI2eSm;M4Zp&xUziTk93CNzDs6u7Ld2sPT%AJlRjDRHtpRi&tk4xh1', 'yIofSh1WW%fKX&FwAV', '55cHTvJq0B0NQ121%AxkQRE', 'A') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('uLE$tBhXsuNtm', 'LkTz!V$Ey&na0jxR7dmeMCENayaFCf7aN06iG1Lix65%6qgC#KGe&p@9M5nrKn2iYbuXdd05z3NFwHHQgFKYFYame$DBJiF94S5!$qnNABM#JkI5tEa4K0K&17HhHFsguDBLBOTWg$n4bfJ@jy757Av@85ZVQ66@9vx5Q%zMRlTOSGURuN%8ym9!8GDvW^6aXt@NPE0m^rjSOO8xh7q29%sSlD$9q4WTeIYoL72WDG963nbqx5dPD32Z09qaH0$@BxC5XQT04AvyVlP^rCHlW7fbF^nCNYeCJeBCR6AOh3K2Dz4LqrQ4oH4', 'pwYsgtcl!VFRbdk2!3TtcE5@Ia', 1, '207kqGJk1GwNKLu@ddu', 'Eh04Rq$Q585aNTvJYTLoF1b%v@qwO%7J8OuY7fFeMA$xqC', '^glrPJXD52EX&w171s2&oECIcvJ44LC!%yxxHM@uXXS4HPffyWw^z%zqLKdi0SyqvLZw^AvkxE8xSx0tftBedEq&', 'S%xHu5oqE$', 'g%paw@W2FdJR3CfjcYkZxZPyUX928qZ4CwcEV28v0$xEjNEYW4dNH^hneXnGSU!dkFdCpIu0PWO', 'q', '7hhc4cbsEeVo^LyJl2jjKz', 'cF4%SfN%5I', 'zGW18bGmAjw', 'g') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('y6XADgP&u8dHnyYjmu00MciayZK%!9FMFUdXd7J7R', 'Z@AhVJ&0062MlUM2KCS6lzx2zj05eR3o5Sqf%HWj@&EGD8Z2y4^A&A5osyOBJ!@f2JHztv43Nxbm#Yvrr%D0TzpAM1UvZkH04oD!woF20@UxoPtA3l9LmQszj6UrHF0sWahCkB@2oA0YLYa$EjrDa#Jk#3GqAdrqRrIcxXexq7mSFBVr@XTncDg!y%Gh#Ax09Q7if^vN', 'b3FYLqedvKq3cc0OLzg%CXFbIWuBb$r6jirdkGie2N5UQ6C!9xi#w6nltseV$J2zhkP@S$s5g1@WSSsCjAsKJvGd#6Q', 1, 'pKBBvmH7b4dKuayzI0JBs;WTKB', 'cAKUPBaff$eIsfFvRa2sC7YOYW8lMPRRJr&AAXLFnjr3tZ&0Pq1zzB05J$#ZtVzxau&1g5', 'vt5hMVj&X7DlOhh7h!YE@TbyQ@Y&!^QKv736wYoUJ$2lhdP!bZPmdm&JhDxR$j5Zn!WHdbGpA3@^RWgBa^T1esv87qU', 'EYoY9^nn8L0hpSar0Zrl$G^w4J@tOzUnN&$aB7', 'Zc3iTQWGkM6xsDt%!ZTw4@GFYJApW&X!gBsPDMJjUj91sl#0C&hJjaT^Dtr0ewRkWcgXaLqcezIQREbBNqTWOc', '6', 'b9kz5nzUbf54^YE4tRy2c^hWsVJ@DID07MzhZMtkf$s$w', '#hJQVDMh', 'u7gKEgzI@$inlaOmdTfCkpQsNJ', 'Z') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('rulquFcHHMZjBM9D#x1yp!1GD5mU$#mG@nBU1#N80CaAK0U4j9NsXfcxs', 'ohpKMohpc0kC&QZnTPx$CgizTe!QLa3rl8oXRZuasGH!&DNJ^YpP@Pg7&WYwuyK16ZfYr2D@jmA$;AexgRUSkwCYgY@0^M!#FT6nWg#juvEekxGkI^dNXfSsJ0aaI!lHG00BtYI0WAmVYnDPg;&yc5o1KKW6RHB0%Ekw4YRlcYm!$Altr@2Bl9t@IAQcT@5ZSL@PhhbOEJklPu49osKXE&UUapVA7DziSt8gFCa9Ok%IV7bcwHVqfdkSY6EZtIG101zlmTzTgA8j1a&3dH3wO82D9mpz^hM5K$yTEWXJ729M60QM7AKSE0i1^#c0s0U^V2G5JbvnRqoM^mx8CJruE!xAKwVIJXf7d0X3qL3@4l1dRC2Ht4tQEpq#B5rbnUK@0hyVwuNYGxphYiP7tcdFsw', 'Q#xkiYCfH74y4da&mC97083imkO0G5xJPL5A$sEP@0GQef3f2dhXmrUHYe^^9rGBGqQp9G2@%qbXxi36h', 1, 'HlmXtIOtGFyz50UwK6rbmZ$f%9FaZNHjeO^5syL^kxnSJms9fFErNfxPp7!k3CBZ^ejmaO3artXWA0CGMw', '9eC&ffMlEp@P#uTu36%xBs0joIde', 'FDGhQPIk6#2OD1y7!5m7DGztNNeiG', 'wRj', '8JL4SO&1uUV^RhO9YsN^4cB3ApKx!C$ifa', 'f', 'kVHx^!YfxoXZEnDTi#8Hzs3x7ZXB', 'hxPE7YnDdHaj', 'H1%FLtZ47P', 'Z') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('p62lxY6o90fMuMN', 'fBOW5#hWkOdq&Ve6dc8FVT0fhZ%o&^cmGizn3jjaQwb9Y^9a1FgyFYHtAyDc%!XmBYQNlY3!Z%VoGXnjPSnpNKOPI6TBM7cXFWE0dsW9CmGI2hTJ0juaCwFX014e4ydSQ^PRin5l$dTp36Mqi0qsI1k9fOWcnG449VY4y2qTd9enKeT4lK#@7R9PKGAAxZ%m0PgedIYgQEdyT$u0@SYJL0$oL8pYxWklaZd#^EWJTKa', 'G$NazGL0jH&SYA6h&P!iYn!Pz2m$dX0&tR4bJM^eGlYgd063QrT#ggLi2', 1, 'OTsH0n6v!FjRKJCwJAp#icS45Ob6R9', 'w#YyuFd', 'DWTz0CE8TothC1B0oChb0LR!ejPR414mE#Lm&B@aE%%QhS@!lx53$F&Z5ZjWUT4Rk6KGmd1UI6D2N0IspVvC$0q^$Sh7g4nRZcv', 'jD7whqW2$a5f', '^nyVjMLKA$!CDOT9ABxk5hn5LFA$&HcXpDptqnavsG3aCLU7', 'T', 'PCrM0s0LaPKZP3c0noPcp1Zudby&SsNc0J8UbJs%dwjK#0szyUQX3', 'NJ$', '@0ZO2xZ5@oUK#R^!Oez3Q^x^', 'W') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('zr0eaF33ECHuhmF9&5@ivf&utu4#I!5bomCzdFzmO@lbD4Sspn&E#X6i', 'SMA7rKwv5@Q5@pBDAA@TYoJIBj!wfygj7yUTTGzHL7&YIktF2nlBoFUs3ZB7Q0eDKw%rCOR!1i8RpR&gXkuYbL#yLqQ@5sYLYrdbm13jDsA5w23hZkfvBnr^BvNa^XVEqtZ%DU!Wh0kQ0W2Inx1Qbs9A0eHYjYkND#K305L5qpdq2HVLs4UxV4s^jn%nb2BqWDbda^yiS#pSeOxoq#uf4UYzzMPS8mZoUUBuvGAuBAL!KGQCXE%gDll2MILvfMau21%rc2!Qq0Kz8%VZ#c#zoIRyxzPT#4eWpfYJIooULdWDHT!OUSA2RH6qgv!Jj6UlSV9Y6bgCU8UaSdYKF0&9Ab4O0wsc', 'zFpzRSJ2IIB%dJT@F2Df3i7KSFRrNFP378EeRhs51DomED%r#eYpFeIgxLOb1hk2ZyW65D', 1, 'ew@Q6dHovxNptZwnN6zg4Phlu6NYmn5BQ70alOFAAISUkz4%;', 'UptveF', 'wP28rbGlZk1&x&Mr%t1@1QhEx1NqJA#NsF3RGJr8!O4kMXCVJ2yRDq%MxtHpueInokDY#@Sj2Z1jM%ZGvZNH2a91Hmjb21JK5M#', 'LZOgeOLoK0zB0@Cx1ldaBgEHFg1en', '1xmR0&qTstJ$mQH167b4qOfOtj7H%Nw1w1y4K0ByGySOZjhX%f#7a0FjgEmNYPWL%HwkhDm#CJtY#xW91fKOSoWlsdT6UVGYJ6', 'g', 'FqZ&BxMNnPOcLI58!ER0Z3Rg8N3CdWOEl4HjVTUoGLX3nG9^TAcbwJ4CFHYUu0yy10XG1Si6QsAcbO!xE4QJIB8J04Kc@0!', 'n1dP', '0h6r38XpYOpfppVWw1dG$76bQy31', 'N') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('47PrB04A0LSvBRA6nxBbBZ0!a@IA5WBa2HahHsjl$KwhlHG&^%Jmazcb7WgHyAvj9Hs!Ghu@de', 'sPDAjIC7be&yt&aSbJUsdb8KdMpNyP8$jmPnhMmW%n8@H@vG6JOArTJgH!mEiVEs63d7fTAwm%uW3c3ifPGW0EBxJyNooPC9PLVEMoqj9hdtnTctW3nAePsxxNtO5b7Drl6oouDYomNPp80Xkiykr1@0im6&@Id$0G11MV5qwvbZ1J8pCCsTJTbpr651oD%M8QFQ68awc7U#W1^FeMsnerjnuIGFP32!ywQh4njur$FB^fAp7wTI0FwMwgkuyCO05@tohNBXs^$iTOpd7fxifpP!&3ST3W#Veuw3Ta8q@$faId!OY6mi4u!LaApd@OUC373nglr#77nj9DgS03@$yJRQBRYiS@vb9K8A0BwCLqa$6FBDiE3XUX4qmjTvt90cHbavvMHEDoh8xUJ#fk&cXFoh;dXP09Bf%l@u68C%vjvF#ZyGX', '0%m2T!WOyQWCe', 1, 'Ox9bsfrk!IKWMgZQ0riGj8Afq4c;fZ4n0Yo7$NN#N!hbYSz$S', 'E!dG$!So3SCJPFxLozJ3KBLCdi3yhJJ', 'Dv', 'gsc0nK00fyDq60t8aH2eIsKWi7p8HIa93!87w!mYAr^Qw8ayeUW$se0VOnXgj1zDntnc2lIhjaKft!p', 'YZTTdMUPio925EyYqs2R%w!aEIhA!qV%Mkr9NR9OztP%zeeDbo3wmq^r&IeBuiVZAamQbpaGjkgzN#IotLoBnnHkm094BD', 'g', 'soYurSctc29uL30W8P!jAbz2taf64M00@Wziw^iCo@aEaZl64MvAmklgVW1fC6ow19zVANo9wn@G0@XAV02ofw', 'zhtG%30hBKD2', 'Bmmm4&qMg!&wqr4', 'g') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('!kiiOasmJ4lnUanFL1ZsKeU1zHwIEdAt2Dvci3EaHIOH@C', '3To&n8RKwgQ7LRPuzZkgMalItOR2xb6%vaFSWB6!SRM1jwwWZi72g@FZwMBGmOcj0SIzb%E%Trv@ujn$g@0d54MBCMk90vD4ErXxV%K#L0fWuKtcoForE^e656$vJu%mUqm3tW7jgdz#VX6Zi8Rq7avFbRrO', 'ifbZ14mpPyx4apvjge04bA', 1, '#OXItoj2#iP#V2BZoiZ2060ZAcO#2OCEKo8Fz749R9ubAkq%zibqKbJVD%8gGn&cN0', '!$pheQhXH^neTQsPCb@xLj2B^Tys9hup3!4D!@a@@SdEGZuX', 'HAfRRG!UirgVOpz%bZMWWH1&C', 't#5oIwZG@', '9uJ5IPJ63U5JNC06q&zgdYAwZc3', 'n', 'FU!QhbQ&hlwWhoioTxqxHqZ4g!bcvM4Od5vVTSY!H0h@O1h8GUg7%o8d@Wyn0DAChPIcZtB0GwX', '^le', 'CH', '$') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('$g!%jA!3wMI^p5fbhgxxyy5$ziN$0Z7l&TfHzEN6DT0tlmWBUpocvimub%t0U$3DEm&DWFJKAr!LnIGcta9G', 'XMvSuCaMiHPCW^niMeNLJ3oI6AmgCIUt2Kwi7406zU9i$SSIVau@ZWgTnUL@e@0GUlzay4aI5GaV@6LkOLrqdZActK#joeYEKzvGhH9R0SViKrZg8pbAyPr@SmOV8YiWPDaqG537BGqr3gz1RLa&2m6@7BV@ZkJ8z&z7fxG3m5&Zo&XAUM3tNjTswgi5g8dg$hZ4OrSj47J$ncB8Lj7bgfreb7G^dBTdYO#67STr@QoFHX4jLaq$01&NXJZGST5yku5Fhv0ZxLhxXTEl2mi20WcWPeft!bG8KXjbRv2f0yvkQxW45CEuz3ovgfW2eD^k50U0ysBDk3YIqY5hobomEaEHyV@AG&1Dz0fGKVBJ110waM5paDJ3eIN!BbyJx0$k1k9fIvEAGMkC17wSQBp2l^oXsl4xmYa04WuXDVNM&9symaZuMM!#H@^3$hTlq7cPAjybIGe@', '2cCWzhtGRG^fp9Xr@k2rkZ#J^3INS6x^7%YSx6OAZRlDQj@okgL!Zso0gZXwGNVK8&8', 1, 'UCxzACo!K8irBqD5KFNBEfh@a#HuQbz7flYnr!VEY&comkjjB@tTzzmEkDnE@@9yFabezfKRR9JF2!EXIn!WOMDM&j2V', 'K%XKPa94QkfJ2qXNBr^w#C0i', 'EvfecWeAvLPo0tOEDEG4KcWhOGW5j7$D!WDKVA7pux#a^bhBPn^sJMeqF%xD09fnPavkW4P2wfGbgLiBojm#8A@cH', 'X3Apkg', 'UN$LLE#$s529@L#dMTkfeghJK0Z&#Xl@KivVrFImbE', '7', '9a8m', '$ncCvj0KM$', 'Q7vIe7S7a%3GQ05HX', 'X') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('V^m5!o8E%HfD#nxDw$1AC', 'jCSkepU^6rn#98DlOKydlU3UTD4pRW4Hy&3y74!e9J0bEsnu!GjX47Jvz^xHltcgmMs055dJQj5JKXfqfFwaBdDqlD^8CiZLwZWY&dpVrH6Q20SIP7rN%2L891Uy666xqpbR1oq1fHP@8TnkSlpvYbOudOO%pXOlAFpJU0HpMpwliR0lJyNRMHGdHODjGsHo!sqztLxRK0PxLratNskY0%G!&a26tnQiP8sXqxY^1#6MY8yeD9Cc8Qe#SwziJrnmfvPD&j3fAlWdY@1XITyjRC0^!w4!%FlGEPvrp#fi6lIT@04YvJGWZ4BJkQKyf0i#0eG8vFxNCfcv@n4Zsctj^vOAcT6FhN3$3MTLq#sWb!jIX6P%LR63M^%Ax6#IyYuWcgsdBpywRD84b5J739@wH&g4Phck0QnjvuvGKBsliFh8WZossUFp%%dc&nuibcw1fVFNF3tyNEd1O8dW!RZb0^mxfiGl69059gZ1jHToq6IoQc', '0EpqkjXgx8xmt8sDu8YwfbCh^AS4l%N2TOaxQPRVqHzb0v@hK5@Ik&H%18rRxS#AquzL$@ULn25FJq8zFzqg25N', 1, 'In&nFL&RL#flPgeji!2kH&Zb^rLxkOLEOubnnLw!JFtDpdH', 'Ru@4!VIuUoc0xv%fHEj5Y$Dt9H1ClTQQLKAiRzUGz!zliZb0wmOGn!#UYw#iT591FtlU#Kv8QJB^tg0fu', '^40rRPMqjE', 'tQxNVDodSYGWKo%qHmLU#&0$u1A4fjazeX7d$zkJ6Jk7ujOsRlQ%ZNYuFAiT2j^xM6HUgPt712OhL3x0j', '!zdHx^JFrfyGTLTroJ@a2YI$W&FQC', '9', '04^yu0VE02Xzs#DYI9xp$g2YgSypZ2p7^MSGVZ@y5DZWRtt31Y@!I9%Q26gJHuL7JQAM9%3Pe^jpoc6Unun07vvVP2D', 'gYHYRb1ZN@4Vb', 'WEqV0skb7K0cjL%6pl6%', 'J') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('04#HAib#RS&0HONe#LzcQ&NcPULz5NCb7TV#xKIUy4rxMTuHEX2r9jU0mOY', 'IW4eT3V!SOg3MLMDex$p4@eLa3U&UEQT$eWenh!QGNT9RotE8s8g#mAN;4QfV5c^u7wVwf$EbPm86@TFeYqwzYFL8E&d9ARHG0lh$QHcaIPDcFAth01%LMvDxSMYgPuI^Ly#FBJufdlX82xz4B$^yT$!LORa3P$rd7Ey6FVMxCNwqFvujcULTv9aOFfXRyrwg!I1t&suMfx$5vz6ilYW#gFO%tQxo^#&agfw$u0jQo&C%c5h50DuGBB0k@30e@6NjySVf30VlD5Cg2QRnxsdqxoFLea1q&5Whhhvrf2', 'P', 1, 'Ph0iJNyZmT0b00Y8ulxfj&Rko7vpdInk0Mw!X7lnmp#ukf610YjTBeLQxW@Ch8KKvW2uA^gm00!!4l&91uflnBP@0Nr1cQ6dMg', 'cHxaH%TrlSLaXRBTZnl!68uTCf9f4MdTmz#p%5LqPmEe1g', 'eikn@5o5cKEqVCnGDZVmVaWUJ#aQzeSl5N1RqWYgaW', 'wjCb&^H8rUD3sxK&@FC^Yhk7BCeN1', '&&Dmop^QADJ!h0%oZ', 'Y', 'jdrd&uHtP!7VIE4W0lF#W1qdo3%DcmB9gGLRa9p@nlRJC5FB!zOXiqM', 'cW#x3fso^D2ZiK1#', 'zgNIitrKKELXX!s%^i', 't') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('okEyDJGVN', 'Tc16BCx5oCUJ7N8wlMOxgjtYr4RXP4VYRi3NqYsM$o@zAIwSucj9^tmyQ0KxSHmkO$ZVJr5ui1AYo!nQD&rCQLZm#B%gc#@k2GSEPH837WX$Zv0WS!!TfRA23C!8uUgm7fWO7P1$Xou!V$tvq7ui275g5QBcO0EjEAWJFrO3Z%$YlGd78tNmo^k0aEJndUdWQalk6RX^prq40d#uCt5jjh@GeWy0PpV4P77ak!0mDP%$DfW%JdSQP@CxfL5giWe&Dlk36R9ItONBj%2^0AnBE4lVBG@GUQ3Nz^ph@', 'Z49m0d0dhI6;yKqy0wyvWzVJL01lDR3dJvxuNkHAsI^OzleWDYgujr3AkKld&YLX2243b#RMW%3cA60pRbOMAF', 1, '03&tBA%7MwgaJI6BFlnW&ez$sT0^ms8THeSONsszetqJ8Gy6F^0E@C$#z21Op^RiotAtWoVb!UHCUWUTj4pnsAY5hXdKqK9', '7kL55ff0UK6@q7JeeulEtXUCva&aaSeKq@MB9NeU0dEWS0YQAvbfUHegx9G!g4&2v', 'vq85xexueh^QkjfGMF&XPMv307lD5eCqpGsorpL0lc&&yokG1titv', 'Q#45q!@o0MEqLYXel!&ACMvBISMBH#8#UWItmjj6rU&j@%;ae$zv1d3vztEdoO5DJCWesY2F!9PN', 'Kb%qs^FvTHE^UXMY26@NgqRzOn@!BYvmjZPsg%k6%cQdGu3a!16ITvpirtJ43L@', 'a', '#7jH4RUP4HCZijP0zSTzVyw0Tkg3hhV2oR84Fq1Y&MkHWAqRjLq9oOWsHiUQARwSTzAy', 'q9Q#A8cVah!wPD', 'KH@LsmCgndezVl0YFFkho', 'c') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('T8CW41!@7V!Ewh4CzElZK&V', 'X0hFmhtcvGd0ric', 'Ow7j8mgLWUXVBTijUcYHkQDvr1IWC8k9D5gnaOOU1!xtCn!T@MD6kKi^!HZ', 1, 'OzOgwB@96u4Gqh', '37V#WAeV!SiuAVH9GRQ@V7th&DwIg3YMQNW0Vvicj!nKhwFhU@0Gyf5$JD#i4DDW@DLT^Gk0yCG#PQ&z%eUl3hczI!', 'A09NlxQLRTicGW8#F9c!EskVPh', 'pa05j2GxtZGh0jOa#HMc0h@yNsJ7Lj^3K7lFId!DeGxNz@!kK0!8BFy7gHoXpyT9@', 'Z^8zNO8^AQc&SzotBqXy5Fdo0W2cMTnS%n0lCGbpsH^n3ICn15hP43yjRQ', 'Y', 'hNrr1uy2X@dw5tHWkniLbHBFO!VNBS8kKyog#IH8V^dnAE^4I@u0E0PHbTJ7FSw4T!SD5p@IN0Wcsd40@Q4Hn%MKPO59', 'z3y9BGSr&h', 'tt0Be^OzbVNWNVd8UmkRKcHT', 'i') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('nzRTHBzhzcy6rvmKmIsMsKDI$e8fSmX#ljbJ4!ebl#EG', 'pdX%w2X$1K#8WrtiwbmCR7iKFstgqx5%UOW!pUXU5oiyO$4UP2vrjgth#bo4FGCzE^j7Cz!IlyxrVR$JnGyo2JJCjD^cvSevTP!PI$ge8T6RQ', '0fMM&7dx@kOU^AMczj1F6Xc0qoifeDYShaV%P5enFh', 1, 'iLsGCxPtmi3LkH', 'hns#CUMOtu5J&VYP6h6ETE0q3UUB!3QEzH&I1&Du^Kc8s5txrkF3AgaJm2YO&0UpKw0oVfN7LHF8rZ^^ql0FuN3ivlk&7VuVW', '#@4JaDyn!H2gu3ZmJ&e#%tYZy@O&WcQiFu33lJ&2#o0H', 'X#exRVHX', '3b0fVzxNYQI&0W1&0b0Ejgvt4TRnr@HO%B00zPdsXsPJsX@ow', 'V', 'ZcSNMb1O0l$9@2vVYwh%DNXxS1cZrYG6aX5ndtUCbKN7TAyVvAFkCxjamk@L^9mhLW%3%7HtIMSZ0PLgzotYik', 'D!1Zy9D3nvs$D', 'oZaIXMqaDGKaGMu&qljw35O#z8', 'B') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('OK4x5^8IJ%cOuiV%%nZw1Hj^Tiae9O%WGf', '6', 'wYPIljlHu7CaqI4l7q6KSUZz@0n8dqVXVNsFi^%KxIM8CDDcB@RF&uVJ^eNl#ct', 1, 'Jfv28srb07Q$ms0CiFeXqYPG3gIPjdIWY', '$6ZJcDhLBeipZSHau3U#SwW&XQJZ#v!45ydwq$1i8cdqRXP%J3cS3l8vfZSs@pQ6kdjpDaQy2ATEiue00MeYh81QqOf', 'EoPt76CCopxiLQy', 'bSKSrd0YUccA&W#iotb4aboItHmOEDnyhXBuTobaEBiZp2pAC0mmm', '0s1nQXrigWKi9jxv&g0vFZwirhTbEg1aUxA1', '0', 'ci23LPff4Am5m^P8$P$y4fL0UzvHPv', 'VNimXsDI1C73!#VVPs5', '!f', 'D') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('ajFxFWnfFLshzajwx9H6ZK', 'mqH@#wmPVdsos5ycCLe9l0BYRtOU$#lxJN0eetk8oJtlP#4sHtAcvxCbWQ9yPyTZY@LL@i^9p6QINe8Wokczr91b0^pujTpXXAuU;xnurUoN!vGIj9uljxP!yA$!AWCN!SbRkF0TW4&lJvgyPT&K#AD2M@OUBt!CgHT8iVmL8Hwextf2jtaOWZSod05pXbhr0t41I8f@vjBj4oAhKMz7ibMnWu!8Q%V$p453oepadgiBmxkWFTLaI09^ONbdd70xvF@&iw!vln!2Z01n94z$hKje#6lI3b$66R6ODkC8ZfWjg75DLU50EdfSlL4cahs9rT$84iQUxq31U&^U1O$e6TyYAjsYgp%HUMZta$zs3gIc0e%lNgaslc2Ek4DQXZD8ssd86AI4eAaW0kOlm6a0eAkGJk97pPBaKAQN0WfcE6dS1cu&lgtROD!Y7Dv', 'BLv^0bFA0kxW%r8mzFvW0R8lQt7HZFtpuS2rOT11', 1, '##QaRBE^&#gQD9eC4^IqY7rbpNENDu1MwbpVK#Wm1vqyAiVFEv$WS!4VzDS4$XqB!BjqPpY88kpsNZI6Z&97xb!C7Bk70S', '4VF&&tWdDUOwAI8H', 'a%Oj4OINid5R^l@doYiI7u0@AJus2vtKavGtsRRYnh0H8SWrCljfniDMTTPqjeLURrGyL', 'E6rkWkyTOU2XMbclZZ!GF1qE8DmXNbnM4zM0#^Ork01Cgn^HE5NGSYcCMUbh%H5BwmTbw3p!0ykE&Um', 'LiHuN@cm9t8SvuJ@v6!BSaAMUviCECYwrJhou7PsFWmFh8L3HJAOteTAO#Hh', 'G', 'CHpTbkwonx#$U#uLRf#@203cWOGzvwS&7R3;YYmcbp#iXNTx#xrLUArD', 'uL%!XL$V3YU%ZnFOXQ', '&0T2z&qjjfH3B#tHfhzgm1J@J^F', '6') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('Hvi$tY@pYkIBTgQs$@%yEgXD^nZoApmddC&Eh^&QkZH#KvXK!CI99D5qEL^6&CVx^tn', 'b0%@ccLF#!ywdv^Od5HwF&D0!RO30%f8GtNsLd#pqRIRvFR7XQQoNQHcC%1svHv^JqWRPC3&0g6VmSAj&HcqcYrXSzWNcz@PlK85Q0ojNRevJTWRsNsUt4RS^^^eM', 'GmnzIKuA&i!KrJ#d^K5kw66kg!m7R19Eq&E9ljd6%ctAAqo82R0AH0kAf3iPnnP%9lis4TZLw^mjIBQ', 1, '&1E$pK3', '1vPGtwre8$3fZk4JK1ZKisd9jQ$', 'ZP1!GK1eNWa0AOE0V7MAjMI0e&EgFmKAXXed', 'iH3t%aNzPLF&vIf04b6XKH5QFqbHiJyq8', '5wWPwtLf!IGY1jXS27aIHBjVD&5f5bdY$UazdtFt^qb7^y0nsYvi$Wczc1bxnv0NtP@d9mDFyOJgpbW4VOU', 'M', '6GImbh85zfuKfE$e6jXRdc$90b7IGH$0yTUDx&qmpJ00#xFvZzN@W0N!Kym00wvYjtbsRoO7ZAqB2#dyDIP7@2an5!!^I', '!chN', 'bLARG2kQbX', 'j') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('yNo%hhVmXvPuxnwnReNcq$elj&WD!2aKV%KcVkvexVU', 'aA%iV6zDH1By3Jhrgt', '4GzJjywPxMC90i8uZk4$H6c#8LSHcTf', 1, 'B1j^mGR6#vsnQATz#pYK%sDAFMVBKva8qlDtElOmW0hwMm26qjj195&8tPpGRerwjj$u%o@GHBU%a7VhKOaqa0&klu0W$7BH', 'brqE91oKpEh1$l@7$330k0jH8yo5KA&cop@sY6E92wQr3jxK#VayDEw18PvHJj0WE5JDqxfXu@^UqZ', '0K0VpxFR!!k9G%wPw!U^H@jtFj4JFIHf0HG&0aw7vYJxc6gwufnw4Fc6qMf5t$agh5^^nwFltNyPgSgy3De', '0aBtAFt@qKzNrf87h9%H23n6uVEvO1W', '$7@tBTYaq23&2WC9qSthPi7Tu&L0%cpUS#v8cKNl5vH1k7r&2mmfsv2K07&B8YccJfc7pu#N57bjH5', 'n', '^HX9qm!R76Laddiuo5!kFDrGakiO3#EH%sZCmzVXdFnV1!!^1cNtti6qff^63aObx3dSkN', 'g370fDEgrkNXdadK', 'm7BOT3Yam^M8Jj5', 'b') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('60IINKOtY%mVzuTq0j', '485fGAjIsRl^UygnKvU45F0c09cJX!5EK08%5s1cq606In11duMBvuau8YfwmHRzLNkJpiigtGJ^F!BJ7burdA9f&KVdcBWQkxq@3oH@bv8VRbVdlDoabp', 'E4JMu44YRZJ8yGGPB', 1, 'juTVGYFbLE#bem^L@w7qf4YzNMM%GGI0DPjGXYUcuL', 'O#jiI3G28nbfCj7@bIC5#SFw2nV3J@#', 'CRRrslC&G2eD43CQZ0S90p$mUgjeCpcsIg&ymyPm&5kPpZ%jhjQ!9q%cVtEb1nsgVT#U44tphv9#5c%@i&%iFiigjTKZ@DlII', 'D%0fdXpIKh18HwKZ1p0HCALzgpAvK9xi0iq$8QPseGE&hL3rfKjhytn3iG^Vl@%AQP7o6NRhHOs##MhCm8f0WeRD@mK', '@6kI4ezDLly!2HR0s8DorydL%LB%AtP3ivMH8iXwP&HTN7TD0Cye69psZGLoJB2gCvHC#9Z9g6GsXq%', 'Y', '^#z$96iPxExTc$qfgwgIXJo^0z%CxIUxME4l2zxwIqqBPisvvaNqHk6kCB$F9MgWQ07EZ5cO^Q&vhUfN6x6m@tWqxPPxCYm$', 'RObVDq%^rXl', 'Pl', 'z') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('!@maN70lMa6s3lN2xBh@Mp$1^5YM&bmoMmfGuDvNt4gTluijlMUKgN!A^kbHe', 'AVNNN66E@6AxH89MATDpinI8^sLH9qUy&ON^FNBde8!EMfisWFIVI33bbEOjruuzh2xZq06U;0au3rP9iSAO^W#KBS0^gTRJpmJOq1MyVEiZZO9c&a8J@RjcCdWn6V&Cpx4NO1Og61!pC2STJU&6K7PE2wbcbnr&FNyrKr', 'sYD!Y!Gzr2LiW!ZiPvLhWB4PF@RWzq9hp1JSAWN8WIR9J90MUfIdNb8YTVj%9R&1!s!Uf6OZPCrcR@5wQ51iO#Bc!R^MBQ^5', 1, 'flvOxPv0Q@7YPUc4PMj^YM@v', 'n^Dm', 'LWf', 'jS^vqs^K6%OC@l#vhnzq0GvrwCtp5cZDPuv@lywj$R14GrJ0GCsxN3GJlC^V^F', '40UwW00QYfueFqS4!sQzRrWMUTFPzIkmb80vEbaFrJGxEq4@R@#CW58Jj8I3qqfe@72xqmwNh077Ro7tPL^FMPx7&n', 'v', 'd0sqDwnDAute', '%1Y#1ejMsHzbG#', 'a1', '0') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('KqRG5a0Abxu', '%weukUyESXqXs5xir10QXnxaq99BZv2NUSAC$DZltzYzqQJ6JgQvk2jG^43aL$LmVK2GA@mV9U', 'v^QGw2ZHLCsSx!DYAOHxUBKMO2BO@#mwM$', 1, 'KI43Ihhf9HnujrcVz!j4Zuw0NPf#5BPDE73^sQ!rux', 'qwH#iYsgMfzfb!mZ1laDYRXcnerP0YFrACQg8kId8xXnDUTzt1q9mm2GFuD4vKgVH8LF96QMJ%uq!yGArZk^xv4dz0HJ', 'Ouf1Nu8cpngKwpYHM7V2IDohma4x6&v6^4e00ZSasez%OU^LmYuzVL#a5^L', 'H7pY0Lr0YxUlJGt3qzzcoadB#hj94@bdfRS895E', 'BvqHdb5y7Kuao1wZV$Zri5$kG5ZVk!k#rGULT!N5dH$;2YPlek9MMjvz', '1', 'fcdpyQPcR6@fTcI9LDDc9y5FbfLl', 'NZDT', 'PYei9CB9p!!zI', 'U') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('$0N7Eci4sUEp2I&edpUoj3D%$fimbJ2oduHJglaK#dMO', 'ng!jt$&09ZCQ0o@$ZQReaD0m^Ze0s6nW1cY1tYe6p4kP6xaSQ&l$$OFQgClBNVN3BMO%w!z1ALW6hhfxNtqsRr!iE8QXCKpAmhdqPdkXwjrhZyx&lVUjuki0Tvoo9IvXkkP03WPz8A$w&Iq6GRANW652^4DjV$NUVA$DPx#w5ja@nT0a4iOo7O0eeN2&ivLaT8HuLTm9V4HB@aKb!seCdoN7ANo1u#dGF&8faLvg#Ez36uk42W5Wf8%trA@^ukK!X0$@2u0e$^GFWJ15sj&FXnqw2KVHQxSG@Gc5yq1EWXZgynEOyWCal53zGvYo;uvc&Lfw#D1irQ&u0^L568@#HkVDJv3yI%wrt4yIogChAY@l35wwbjzgAABLXJ', 'zzGtiE05w3NVBIqPpzzE^CmoufYZyTSMt5P1hx2v4q09DLLY', 1, '9ey%cg&3M8CJh0qv!pwZw4ADCcSPA&PMxu', 'DSU0y^P#VnYCje%PltX4K@q', 'fyMoWbTtaZ8CwpxlFPelfvl2&q4EyBJqVBiw2C^a488mWc', 'oP5bb', 'QbKpv7d#GeNN@71j2Q3g8n&', 'S', 'fQ', 'dalyjncz4W', '78w!#mv2r9s7scy', '!') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('b0OyCFFO#Wf&q#WZ3lH5Zkt55Od66WFG%Y0noG!kmFzcb02bCkuhh16YMJtVqzH6fF2z@yztrmPiRgZ#L2zSqno#R9HMb5!T^s', '7zg4S1W#iT6uQx9n0VMYg6OSXTgms#knkmUbSu0oytI^3b$L#CT9N4k1Rvd^QyynyO0sK%CBUmpUtQOKWCqX8aHf1Tqlg2E&@kvk2z1^&hlpKxD1Nz8d7Ien7!rXCfkSOq!9jtImBsYXWgCAfpFO!qYi58d880sP$zHjDtNjXSJLRoyWnXHbHDZnyG3beAdq08!lFh$SJlX8ObyNFnQgyg7pHjS$qA4mDhLIubg6!WylMQGl8mDYQ%ZQ0zLlw0q9gABwxWhs6KnIOSKXKvU3$cC;#H', '#G!uo4be0Vi50R6Ff1dWUI0bnb4^@7Cdm#a4tdoNxIzHB^Trw', 1, '5KjFO7c0dj3h4OeF1b2Ixna8o;pIx@%IRghYuM6bNj', 'oxfETuU7g#Oyaf8PToMo5Gix$ODw#wQ4TH&88SW36WqVzPMd', 'ooE&rPdPH4YnbRbKLAf&G1zIieft^c1oZE7', 'Ufg@p0RbPKGJW4b^ENmW#MbzQQt3zuEJQdXk&4gYPvzAGR9', 'qjXRCz83O0FNOJj6$ZHdY^zvv7wbHZ&Hkc8aNZdKPgg@H01TfuJYx@^rQrkv3#rV0^sAA9p4K%v;FUl6K$cf', '9', 'NqlDPHTVrRJOwh74FcAvo', 'D&pp', 'F2W2mUO', 'w') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('IRlVaDFrW9G@E@W3fPEphVHTOTL9uo09h', 'DomrrQ%95^8g8wQylYB4U0y6nZw%w8xJp7iLZmbGjLBVGCCJKXLgM0&sWf3zj&J$xvX1d5F^L#Q8FKwSlTjFtf$f8XVJiJmj2FnaLBuFhMCRpXUbQhcwM3ygyH!nf#M1Ev5&ml6RoLnOKaXg2J!1vXE&66I4H7ol0Ab!RUVtbr71LRCmQJkD2KCOY6ZfJ10gl1N0&$veUvV3PCjlzkj^TRjl^u1L@EQ0hXLK3snUc6PCWy^kTDMoNauAOrbA@RjeLLSZXGh7%wRN2NwwvMYnZrs7r0#IgTZsSzX0M6uckFrfpOy1@M5eZ$mjiLwMKGX0Eo@yWlQohL2i0bNKI@NBOKzWbDY1;yLOgI0T&aE#M$d@3i6%S4QZls@W5mhuOPAcmAPAMYIP8F1Nl#8jR4UJ', 'sVNaNJZ0d%r0DzACh@r1RMqcA0d^JK@XuA7@TB0&W%q4lknFQeS!hN1NuzGDv@wA2AC3rGPMRsaTllYe', 1, 'Y1FNyqvj@Cz#xX2ROkd9w59VCer8IqSXM3I0#WA00vSd', 'luj6xxq5%SZQaj&nHzRJetd2', 'Qd&1j@$l!$UB!kwH6X7aKg0SUitf0YfhgENc5#y^UVp2z6FwbEnn@Kdzccd1xMl1MCjlDjB0n9nWX^hNJ%3rzZmDp', 'Y', 'w7yom%SjZZ2d&SmoIe#wnAI!xUfN#pjKrXIfmyHk@o4aplZBg', 'B', 'h9$uFXzN5oyEoS99610DGB^vwAb@Lw@VyN9NMROH8DW0CD0zPsa&qdlNax^4LE2FuJ6IIsskjzu2L^Z!AIahl@ujqsCdTJ', 'BgCZxoXm&WM', 'j1bE4A2sQizeSgfXexHC@x', 'r') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('bRViveCA7rpFP8!7R%2JM7HwRo4kVSDREIohExUkIg', 'wFPyJTNwomM40ny70hMkVE16PHzj0O1u%T&aGBH257rh#k8f^N0qBV&YDJQ1islHlh6momxEGKfOcP0uzjktDG!9T7E$SFPIRQ$KdRXIfCQXEhLVyky&8Z3Ln%zgPAS0#D$sSv;sJd1W2ABsPtx7QAZNglghGZLQP#1lh234QCvK2Vks^V&6k!b34MA90wTQyh67ze0Nqtnc4dKs1UjR!FuWQ%gCx!3jQMaRPdZPLiLYC^^W188bb1X!TgmC%Dexp3so2!KT#B6G@DjR^rAoRY7PVh^xXmR73cxyCGT8ukfH@f^e%BDC2XNx#KzR@b#FR&CN5ReoEr!vIwVEiQAlPd4cw0CZ62dioHX@Kh9ble%G$gWvV@xaIGWC@pg5dmhCdH60G!@1Gn&Agtff073aB2HPRj0j', '%&$qsl0', 1, 'vBjHllx91@6j61b0nel!H0Cq0DW1@5ki7a5xn7v^ya09XLWpflSGy2ov&!HPvvd#FUb##LJgQnqv0szkNvSFiLQ5SGytwMy2$4A', '@uBIBXaHZuCql20KEI!379kceQ3Vnz#YvSS1g$OVFtZa#30Kyon', '&rS9ntRTmjpyL@Af&tI@5uKf9ha;l&aAgwq0YZz$1i9zIf9Ftz@MwBANC&6h0', 'j', 'tt9f7B8^4bANx110@T5u3M$KuYSgSDhWjKSMwdroEywncVy4f0zceQ#OxvSfPYcx!LsUelANrMXBeEwFpO0I45GzO4e0rbGMl&', 'x', 'V@FSRz!qy!^cW1XAsV5Z5a7zlf60ee9&bKZ62hj7GnBk2elEWRCFszFKT6vBsPajQ&0b9', 'aB%hOFSx7@', 'uIACJ4ei$', 'O') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('bhB3d9v5ir4ugY40EoG@uNHesn7!xBoTiqBnguZR2fagv8rcahnt7PtvHlGX2BDN3hbXlMQ0vWZdBqQk$@Ped#L', '6N@U2OwIucd$AXuxd%hXe!fCl@8Snz7DIZe&Wlt7sC7cCor3kO0%sJPcwnx8GKk@6GjHHuIYA0tIS30%y5xGz90^02yxVkxOgb7#4QrW59the6qtnAFBcLr$wlxF$03eJMrG#4!PJHAqMYP3H49jL$BCQavOhT!@5dFzKQxiHXYB01fECt%Y0PAN0WWRFawXOFkxieoXDXJV40rP@XaVV1!mKYpV@NKvp1TANPkn46k06LI0u7XO&I1NL%UqWA$Wbcv3cX1bCUQONQf&ffqTX#wN&6WP@@xA9u%!fF$D6LbaZi&#NUaG00&gMO461hgHmfFhSmQGiTNaPlVM6!17PYp&uNcxBWCUtAVJKO9q4AmmsUxqZn07g0ZuWFT59h5tf!Ndwb2oRH2dB2CHeTEcWvDjIqT5@4gTvZ7z6i@NlHmF7LZT2bXmJYDRmtC6o$uMqePI#3A#ZYYd9%b$x02Oc!9DlmcJMUnocG', '$gX&I@uS0pIogGEo@Myw6amFWXe4zz1yPj0g926ivmD#LVs6e&tw7OSR!h0SMphxn9G$FneYGf1PEq@1t8VA5Aq0', 1, 'ZkC555EBdwxYQCXXN2bzn9nDBOrTOFtp1n&lK#KyToT%H%QzKAjv3UzQ$&AmKRTF28WrCBcRoKN^lp$D%Z9dl^l', 'foKrnV1Bc@z7n$9my7p7BtC2$oRIFi4SJDmbyo1VLs8vtvG#&YUY#6iSSIv^3o$@XNuQG$U95Br8k7FwPV', 'vcWCkApX!2RlvdFM1Wl33KSqK0wL2^feNeuJXYv5C$f3Q5J7yZv!zFJSqvZ04LV@TCFfQ#W9', 'w7tPHExpb9ylL8CIir&l1Y8l', 'wsmD3mAi8CoIUjIKzLrw', 'x', 'Ju93eF^8yt85', '6bSr&&jGDLJm', '!Pl&Oe@Ecw4zE', '9') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('DH!FfLvyLU2XtqYgBd', '9mTLx^lnvq3wcz6LuVK4Xw3rYNP6bi22pi3fVe7hp72jRCK@jcTNAMgIj', 'Qefbcn06@vXXeNrLQtPHl3VS&wlyK1r#srm29#W#QvQutlD&80xdARxNqtbM2yrZ4@tTppBUETXWipoJZ', 1, 'crI@GILP9!h4YqyYQGPvJ;@It05yUM8OnXzSZPNW4u!ERr&WR9MHd', 'KOhcIGflc0lzz&6XX2FEaUlX11eNL0xAwiW4GC5fU9NuvZvXLhVEEisWrr', 'qzHbIS2f02fj%pQ27Yq9Bo2saZ#dX&IeruVkxASKWfMI1BHeypPz0252wd1QWVp', '1ZzBuAC6NilJqrGhNLwg9eooTVjz2U0XBh0J8J', 'btiPPp6Sqx90Z!gSz0PGg33!iv78r%93HH4M$GFsOx8AKX%I1d9%@tE9ppwji^qto5ygVBWZAlYQ#zerxu6c', 'b', '3#lD0l0Q6KbFoNUwofsEB', 'X05S', 'cGb#jdZeiPea7JgmF2RHGVDPBJ', 'O') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('5zmZZ4&J4z@g5wcsta$zA21c;2tqH^aQWKMVeQcn$', 'NpP6B8e3R#Y2x9HA1BitAQweTxEdqQbE4QwYF#Zir#pV%HdMEfaSJAN%!Aj4z0I1Qj^OJQ#5J&1FpIgaiZGaEq@z2z^4IUPrin4KIv2Vj68Kz8Dgi8RHqwtpovM9SXtVfG', 'DDyT', 1, 'hg&@$NSz380S!LkcQ!2tJit!SBJMG%SEF#78vSc44!S8Fz8Yhl', 'PuV^T68r36!6mrc%EcN^M%oPxlkhsRtj@VW078lpJS1^&MScl0j5E5fR65xxSW^hIFaxC2XvXnk!$pQSA7$hxoMWF442HU', 'TQmpAjGjjVdfQlVMlM%K!MRi!lZy^VU3Qw7c2pgfxJ^I0v5ieoN#X!@7^3wdr8lu0avjeIJ#uNbgN89tgG', '8ZcXC&d&!3VpmzH&&S3DLRx9NKpW@2$RVMm8%FNftK1qZT!cx9tvCM@mr49ZG', 'Y63AHcz2', '4', '0P6f!QboSExd9R', '!wVG6F0jVih0%7', 'PC!EkUe8t&ii', 'V') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('cT8@fd3rESqHybqLA6vDYrr5gMb6lYL0YrTa^9aByy&ytEGgEEOzpU&Rq3Jz1$5N7qQ6oeNr#@4osZIJ6@yN9', '3s2Q@vIzCshq2UzZoYmDvQ;yq0s6unE#QNKmvS#jqx$0xGVD29WSEaiTJhzuet84Kvh7VC!6qj5iJe0RbW4kySnFtYJchw4$pYv2nNOwfPqj609uhPiopUCZ7JJ%ZMU@f8ZSP%tu7E4Pq4ytOe#zdMDClD#K4RDA@w4^7mMjkUgSPTx3afeKQkMABmwa2Qqm0AU!0AmrzHepuRTy5ZzVB!QGQzsQXAhBt@Re^E2HZU096m5Qz%69fCS7Qd9w7CA&oJ#A&EAxWZ#OPHAtuJf!t8kY8KuRuCzmjaQsqBQ#tEjnH4n9JM2tlGBg', 'rl9P3io', 1, '72Z!kwVV$f4ml7PA60JFy4l0uSKB0&2GQhCJ9A10MsrUm&UHjPhEQ^o3NPuySjU%duC3B5qB&z!6JxTv^3ghNtW', 'y#q5ynsFuFZsQ5eoNEg5hqe#&AP2BfRERa39&vwbwxdZ!3d%2!0VFNH8Nv6^Fq3eVkHF25og84EQbm1$lR&Ie#&4z', 'ApxD5u&3FrF#%APNA8X$qt9JUrq&!kC67IVYGxzlbi', 'NV17wev$I^16fUPK300jWzUkMY62FBQ71E$&pjzLWGt9HOISPVhb98', '0MrF8sn6d!5HYQkQxvuf', 'L', 'ejiQjE^Z!P^JY@Cshm@NI0@&zyLKJv7l2upV0DTG#cO8SHZCZ2%PQ%keojfRZketHIHtBOiLzkSviTdZG8RHyoC590vWm1NH', 'w90u1a', 'evaW#C5n', 'R') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('#i5CkqhsnyDay&l4Ya6FZf07!idZQ^W$7ond3u0HZl@MY0n$f1w0K!MM8^I', 'pIpIH49H81s0vNClteZ#hJPyWhcJI54S8uzJA4g$dk703&ec9qLQQ6@M!YSoXv&3$GY0cZRo^#N$BPuX3&Agqk22A', 'JhZ5Pl43t7d0fFlRUo%a0t#kY#OIHEWvp9876W^HwL1PV^jH5zdKDIFfmDdUDssVhPH7xeL%pmLu', 1, 'H6D7paZOzYRyIa33ibx5nb0XUgjg%0U06kbwWku6XZEGtcleiHbfLqAu$Mi9YIQo4Gsm&Dd%NreuEAsH@4%l^DuLR', '92kde9eBUQ^fMsdyjb5XsjIdTKtpxbNCh35#rc0lo^FX$Vh!Q4azL', 'Vp6rALW4H3s', 'ni66aQxuLRh%sAGs1cXs#fBlSvHz@%UzYEBx^4n#nJ0FVt80eIGWBBN8ORkM8^zN$O', '&9u%V#4i5#wonxjin%^mYtPcPITp9tI6mj06dJ0Gxt2Sj$oHKgp&QQ#Cpgdc8K0Iiq13md5K$oWuq%ZTib', 'Y', 'mDnEN$uUxTjqy!#lkwbL2q@xaror!$&hEG4tLOx8f9Y2a0v&X%YeMoG#JXskE3!BU1', 'WyGC&4v!zYma$pA#4', 'f&8QVkbAbele9dD9o', 'k') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('ZNrSzhney%w2vBZNOSgTziKcId$pfbFQB@miN^k3VkJgWbKILsHA3r8G3d9lk^&m', 'xAeF0Pxd^dGsnvzjLTB4M9SNeyV^PWlmZ9L9t5sY3Wt!0GXKT0jbSk0nPxpx@yu8ZiAdRpXFqJ0WMZNFHabOC0AD9mq$L@$Aqk1N6JZs0KR8j0IWRRWPlNBOO$5t&@@vNwuqX0y^hQEZpsi^LAa!4deKPj^9EvsePkrULg^QiYwB8JnlJ6PvP1rzgRHD1oqTno051vitBrHcNJC6#JwxN%wO!ZC@GrP!xKdPyijdUk!nqdSEeAInZZ6pZsa8ZnU0INM2uTDIohKr49nL6%M5Pq1FDVX68bkvxQLKyQ0r%&&GdLlP5v2@IPqhL7vG$xAc$e@kuJcmUk8QrrqZy71I9qTOot^qjAuvvSJ^', 'kr', 1, 'HHWjMC7WvY4Csb#0LS2jWIjFOr8xSGptjv7', 'KKOsF0DO7CE5kMvJTx^mgCktF3VyHh$4dt08kXfHNYGVArx@!Qx%9pm8pj', 'a57VGAXXLno#gmGp#w!cB@EYR^#U6ZO04KwIQRd0BGeBqCNSQ%b!pF0f', '4HE2RSGnYDX^F0h!I@M2weh0', 'NVHuJfaANDryWs', '2', '@Rn1Iw%5AtPWpu^', 'RN', 'HT5tKx05i7uz8eiRLc0wELORXc$', 'e') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('lhgj^iD%^T0hmklh', 'WqEC$l#5kDxBGX#$8hX#ky7eaJDsrvA#NVo$CPl@nZ%0vtc0lqb3qkqnioqiOyKV2CVSy&qp$$DrA7POws70iwArt0Jcn2cWe9%!FqIm0T7uO^UaGJSlrJCB1snxlc2!PObr0W95RQ0wp6KvcxDLgYtCCrZb300TQcL&Sr1QzNAHI6a#OYkVGnJYjGVO$%2GQdMcqKKRwTaAmT@wf$taWbcszTMbDjUCK@Xtp%A4dAoTb9BxMnx0zXQE1iKE^xcb&FWr#w6hrp$lUpgpgdweSU3Uais7j$5NmbUDj0CeheE9@uRI1kmQ1^qbB1gI3&^vkf^HBJ57Ig%De!!MyR5&GlLoSI1h', 'ahf8VKv96oef7Q1T$H8A0i!&W^AGWZIUdP5Lm75e;KNQqd@m^Mq0oPYogiW9VidMr1nKlwVC!jSFcevQGjYchJV0c', 1, '5r5w0ooWf0yXUf5$ia1U5zB', 'u', 'nw&q1mUYM8bX6!piplt', '3@a409CXJvBGayP17Wxscg0^aNb9i2K1ksjCVm1cg12JGf@rHhhw#0CTQc!i%tEHSAlPeccRUkbb', 'n@SQy1Rc5kWwTHtOeUtrY6@bbu5xIHVqFiV^wc@CXEu1ZOpBn', '5', 'TGh&GE4#iAuvvYzTuh1ZXBjH!iu4A9DBwHSJD&XFWHD30BtWWO!U4vZgmG6m90r0%!&U5Xfvqr2', 'fHnWEdSfPx1PBm$ZAwW', '56BFQ&yusIsJi', '^') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('BTG!es^4AAiCX#c0BaATfVdjSlVE6hf^93#3EzXKCBfueYCN', 'O#t$fMEl7ZDq^hkktT00s1jXfLEQ5@Q8ouAkAcTeuhs%7bC%0@tPM5eMHDMB8Ugb9v1zO&Qf&SL0FmP39HGaw0rieVJ%wh6G1fVIa2f00dP!q57kUIrwd6M83Ok!lSPOL49ox7Z6rv0ihxZ0No0UWGs@AMEsOmUnu1el#OTMQl5O6sWBVab%I#Y5HeVRzwn5IIVgiDd&Bt4ABLV7X2DDaXLz00KNZ2cj^05tEFih%breXnA$pN@wZR@R$k79Zw6zfRBBFqzgQlG^uwIS;nb7Nrc5kwiy9pw6Z^6S&m&dJMCa#mwJkz09@rzpnvk@fPG#9', 'xC0Gqo%t0V20^0GdGfnawuNtA24%@5H14Q^6jZPR$^zAkkm@FA0MRM53', 1, 'j&y@c16d1z!OwDey#b8eM0oq5@fnL#;Spx%v', 'je9Z5HhedxD7JtYJ9H8WhROz5ib#66g2mV', 'CgiPTM2W7VEj!NnlmP5zwFUTvm97fARVFZ6Yop2COZrgKY1pO#LEQky%tvjwC@FC3QL1Gw%%MyREdD9DkPpkVb4jq9u!5C0TjV', 'c0Ph^OYhz!PXmMaUBjOYLqHx23Z9y^jopdqj&7m7jTQwpEDorbg&7lfSphf@VPQBGqw8lXUu%GDYH07uwzOlNjg4^E@N', 'hB3dX&7u2AnT2xPn0eaRul0tUl9r0O$7CCo1Vsj7m', 'w', '@hQlGtLC6$$BFqAXMkkEggv8NzO#3utVTv!3o6zjgBvFrwe2PgHMbGNKSHE7MQyIz7O9wxxFR1mMRXNgjLbSUNJcPegNysDx', '6kO5BhQ1#0i0Z#@n', 'D', 'U') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('BphfR7otWK%Rsye0!2SSy!PllSaFC!l&jWcLj2&@CNtm#', 'VEXKK20$IH#!^$PX#n%wClzWY3YeSvsq0il1LfI$i!A4o80^TWy^%K$y41THaR0beBPL;bMM0dIRvxP2Zr#%tswmT$Kt0SxPnVToko5KSi$vjOFz3EhoeeS9inTSxiLeM!sHKpOAmha0v035mapsA8A93K6$BibzDOQpk^VKWN2$3HJhkNumZhLEojD0iR&35IDNgJRolLCT6D5r1UIVVWGk3a10qVq5O^Xr4#1H#50cMZxRdb^v8aef1hK5IR', 'kx47NKn5T1ZPVsFaKfTeW#%DQHqSh#&a7zZdUp4zV!I7hvqEI', 1, 'PHoAxn5jBTX1OHkAqmjaiq#iWkjfS9OACcoZAKl1&fi6S5AV64hb7gMoL5Kb4Wxr5lvAis&M0hb27WxRQv0OYBslx&cu00%9O', 'vG&', '4BaW5JhWE!rFMPAzZ03jeBMXj2kgU10R!wKlqDfUOnX7Oot^myCw$huzWkB2o12CPH', '5d8l!eCXKF9#Fl@kuKUI2aw', 'cvNl', 'n', 'd!8pgCNLDVgbFs26N75T3b!O3iMQWBog2hrrS@d77$vle!sRtGEdiiG1&pm^X$W1w&9', 'G', '!^M6NEy9W#mf$a^PIpssDef0', 't') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('R6PTlSkjDAkqXc8@GG5k1pL', 'YeKOB0iPjoQbA!aXKb751Cq7kAvoAdqq7EtDHC2A1IDVnO6M@umdDCclVCs1A@d5%p5#wDf89D4o^BPCtQu6XcTBq8P49106uxX^J0fme', '&yUmiTW', 1, 'eRCAAoVa^8D', 'xKR!iz8YH8T2CRvgjtfGni6r9FYx3g#sA@WE2$kgnfDIQx^Dp!KLnmCdEoRJIGUpcqyI#Xdm8^h7LtIHHj79Cg4cnH&', 'HEOrcvp&lIyMmCo4uz', '91oyLT#mkkjXAaxqAMx%iIlHFteKL9Z7V$2GfeMpz3K1oIab5^AP1cuwMN!gEhHbrb2E9Xak', 'uf%ki$h3FME', '5', 'C@ykvShryFbFD3dUeP@Peyqu$^AI@Dh6r5D$I&AkbUvM6nL0qZo', 'Yj3z', 'whFw@m5dxvh', 'e') ; INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status) VALUES ('Cq3LnFjzh2dY#zSzsEH43DnAo19cA9M0bCl!0VMPbOnuNv0LM$VED0C&3ylmw', '9l4MpcZzEYZYkf!U!XtwEj8C1&mWxzph6Pd8IQRyUsgMLigP0Ksv2FqVcyKpX214xGSB1Rb05#Ja3sYPODMU7!fwnp@05rHSqbe4wLOoyhq6$eRRG#Hild%DqlcHX15KjXRXcTh3WnkVz9z9F9z9RowbeHK0x6ywcMT5u!DUKEs^!84gS42Ny#!#qEIC87BQWUITmtKLCLvb#xi6Dsos3S^gTXLXg1LC3J95wg@oqmaTwN&ZkC&LP8M4Wq&vPTtB&!9iocFly&2MHbR6YSBL10T@$5f6gvFD!FTDDMA8$KcQ6&tJF!D$hOz&6dlj%z43puT1odyahtPnT3V%ICwnYJla6TwpqfasF0pHbrkrrsLU&bc3poIq2NbN8I@CN9R2ilOJKdRfh5$u^xb@Gs&1DQqZ^IzAxPKhIIBJtzpbEs9%QNPGw0#j9Puy#VL1K;zqKTl$yw63UtaHt8g!Z4wTq9Zd3OEVnxnKGD6@sK%AWgkl', 'yNt7SbhN0B!8!RYgLm6x1W2mxd6$$9UD@bfYqgLarZCB0kRcIEB^eSWIK7GD6lQXNlcOB&XuI@58ixlbt!jnEWn', 1, 'iG8569MUL83HIO6lkNOo', 'u9b1rhY^4r%TDVzW^^DKH4qhHGyz3rEe0xa^Z4Nu#M3HKW0gTuOPSzapP!qRQn@IUOS6JB$!g8O@0PE', 'gNFJWtwmSe&K$LDSqU$43EgxVxJSfo&lFkyHl&^jlQYm%fkt', 'F#HNtIw7VnRL6', 'J4Ib$wrVIPiN@zEbeH7P4KZ', 'X', '0GzGKv7kaJhdId6^^0#BE', 'B4^J', 'bRlRhhe98FgUetz%suB%L!N@FG!u%', 'L')
226.610973
1,056
0.825577
f5e212675aaf483723f59113ce0a315255256e18
920
swift
Swift
Sources/UIKitToolbox/Text/Text Field Formatter/TextFieldFormat.swift
apparata/UIKitToolbox
6a95d7bbfdff0012018b5be3d6d512ffd09750df
[ "MIT" ]
null
null
null
Sources/UIKitToolbox/Text/Text Field Formatter/TextFieldFormat.swift
apparata/UIKitToolbox
6a95d7bbfdff0012018b5be3d6d512ffd09750df
[ "MIT" ]
null
null
null
Sources/UIKitToolbox/Text/Text Field Formatter/TextFieldFormat.swift
apparata/UIKitToolbox
6a95d7bbfdff0012018b5be3d6d512ffd09750df
[ "MIT" ]
null
null
null
// // Copyright © 2016 Apparata AB. All rights reserved. // import Foundation /// Adopt the format protocol to create a format that TextFieldFormatter /// can use to format a text field on the fly. /// /// NOTE: The filteredString method will be called before the formattedString /// method. public protocol TextFieldFormat { /// Return false if the new text is too long, etc. func shouldChangeText(text: String, newText: String, replacement: String, inRange: NSRange) -> Bool /// Filter out characters that should not be in the string and move the /// cursor to the correct position in the filtered string. func filtered(string: String, cursorPosition: Int) -> (String, Int) /// Format the string after it has been filtered and move the cursor /// to the correct position in the formatted string. func formatted(string: String, cursorPosition: Int) -> (String, Int) }
38.333333
103
0.708696
0a28db46a16be002b6c5f8754dc27dd3ed28f2d0
414
h
C
Include/ECGamal/ECGamalVerify.h
vikvych/hierarchy_base
fa2cfed8ca1ffe82b5665d4a615bd205849ae609
[ "MIT" ]
null
null
null
Include/ECGamal/ECGamalVerify.h
vikvych/hierarchy_base
fa2cfed8ca1ffe82b5665d4a615bd205849ae609
[ "MIT" ]
null
null
null
Include/ECGamal/ECGamalVerify.h
vikvych/hierarchy_base
fa2cfed8ca1ffe82b5665d4a615bd205849ae609
[ "MIT" ]
null
null
null
#ifndef HIERARCHY_ECGAMAL_VERIFY_H #define HIERARCHY_ECGAMAL_VERIFY_H #include "ECGamal.h" #include "ECGamalContext.h" ErrnoT ECContextVerify(bool *Verified, ECGamalContextT* ECContext); ErrnoT ECGamalVerify(bool *Verified, ECGamalContextT* ECContext, MemoryBufferT *R, MemoryBufferT *S, MemoryBufferT *VerifyData); #endif
24.352941
51
0.649758
2177c7ea67774efaaf40ae2e1f2d69288f5b22a4
1,475
rs
Rust
src/api/return_code.rs
Siprj/screeps-rust
ce312f1ed34fdfad588770d3ff5c511277368fd6
[ "MIT" ]
1
2021-12-27T13:33:38.000Z
2021-12-27T13:33:38.000Z
src/api/return_code.rs
Siprj/screeps-rust
ce312f1ed34fdfad588770d3ff5c511277368fd6
[ "MIT" ]
null
null
null
src/api/return_code.rs
Siprj/screeps-rust
ce312f1ed34fdfad588770d3ff5c511277368fd6
[ "MIT" ]
1
2021-12-27T13:38:43.000Z
2021-12-27T13:38:43.000Z
use num_derive::FromPrimitive; use num_traits::FromPrimitive; #[derive(Debug, PartialEq, Eq, Clone, Copy, Hash, FromPrimitive)] #[repr(i8)] /// Type corresponding to `ERR_*` constants. This type is usually return by /// Screeps API functions. /// /// Note: Due to Screeps API constants not being injective we had to merge some of /// the constants together!!! /// /// See [Screeps::Constants](https://docs.screeps.com/api/#Constants) for more /// details. pub enum ReturnCode { Ok = 0, NotOwner = -1, NoPath = -2, NameExists = -3, Busy = -4, NotFound = -5, NotEnough = -6, InvalidTarget = -7, Full = -8, NotInRange = -9, InvalidArgs = -10, Tired = -11, NoBodypart = -12, RclNotEnough = -14, GclNotEnough = -15, } impl wasm_bindgen::convert::IntoWasmAbi for ReturnCode { type Abi = i32; #[inline] fn into_abi(self) -> Self::Abi { (self as i32).into_abi() } } impl wasm_bindgen::convert::FromWasmAbi for ReturnCode { type Abi = i32; #[inline] unsafe fn from_abi(js: i32) -> Self { // Ugly hack to fix the value being grater than zero in the web simulation. // I can't really find where the issue is... Self::from_i32(if js > 0 { 0} else { js}).expect(format!("blabla {:?}", js).as_str()) } } impl wasm_bindgen::describe::WasmDescribe for ReturnCode { fn describe() { wasm_bindgen::describe::inform(wasm_bindgen::describe::I32) } }
25.877193
93
0.627119
98fab2de363a39e9ede8a5ba6ecb034d3d9a3716
7,936
asm
Assembly
z80/dzx0_fast.asm
pfusik/ZX0
dcbb75d404c9a438ceab6b082afe37e79d4fa0b1
[ "BSD-3-Clause" ]
1
2021-09-23T02:28:20.000Z
2021-09-23T02:28:20.000Z
z80/dzx0_fast.asm
pfusik/ZX0
dcbb75d404c9a438ceab6b082afe37e79d4fa0b1
[ "BSD-3-Clause" ]
null
null
null
z80/dzx0_fast.asm
pfusik/ZX0
dcbb75d404c9a438ceab6b082afe37e79d4fa0b1
[ "BSD-3-Clause" ]
null
null
null
; ; Speed-optimized ZX0 decompressor by spke (191 bytes) ; ; ver.00 by spke (27/01-23/03/2021, 191 bytes) ; ver.01 by spke (24/03/2021, 193(+2) bytes - fixed a bug in the initialization) ; ver.01patch2 by uniabis (25/03/2021, 191(-2) bytes - fixed a bug with elias over 8bits) ; ver.01patch3 by uniabis (27/03/2021, 191 bytes - a bit faster) ; ; Original ZX0 decompressors were written by Einar Saukas ; ; This decompressor was written on the basis of "Standard" decompressor by ; Einar Saukas and optimized for speed by spke. This decompressor is ; about 5% faster than the "Turbo" decompressor, which is 128 bytes long. ; It has about the same speed as the 412 bytes version of the "Mega" decompressor. ; ; The decompressor uses AF, AF', BC, DE, HL and IX and relies upon self-modified code. ; ; The decompression is done in the standard way: ; ; ld hl,FirstByteOfCompressedData ; ld de,FirstByteOfMemoryForDecompressedData ; call DecompressZX0 ; ; Of course, ZX0 compression algorithms are (c) 2021 Einar Saukas, ; see https://github.com/einar-saukas/ZX0 for more information ; ; Drop me an email if you have any comments/ideas/suggestions: zxintrospec@gmail.com ; ; This software is provided 'as-is', without any express or implied ; warranty. In no event will the authors be held liable for any damages ; arising from the use of this software. ; ; Permission is granted to anyone to use this software for any purpose, ; including commercial applications, and to alter it and redistribute it ; freely, subject to the following restrictions: ; ; 1. The origin of this software must not be misrepresented; you must not ; claim that you wrote the original software. If you use this software ; in a product, an acknowledgment in the product documentation would be ; appreciated but is not required. ; 2. Altered source versions must be plainly marked as such, and must not be ; misrepresented as being the original software. ; 3. This notice may not be removed or altered from any source distribution. DecompressZX0: scf ex af, af' ld ix, CopyMatch1 ld bc, $ffff ld (PrevOffset+1), bc ; default offset is -1 inc bc ld a, $80 jr RunOfLiterals ; BC is assumed to contains 0 most of the time ; 7-bit offsets allow additional optimizations, based on the facts that C==0 and AF' has C ON! ShorterOffsets: ex af, af' sbc a, a ld (PrevOffset+2), a ; the top byte of the offset is always $FF ld a, (hl) inc hl rra ld (PrevOffset+1), a ; note that AF' always has flag C ON jr nc, LongerMatch CopyMatch2: ; the case of matches with len=2 ex af, af' ld c, 2 ; the faster match copying code CopyMatch1: push hl ; preserve source PrevOffset: ld hl, $ffff ; restore offset (default offset is -1) add hl, de ; HL = dest - offset ldir pop hl ; restore source ; after a match you can have either ; 0 + <elias length> = run of literals, or ; 1 + <elias offset msb> + [7-bits of offset lsb + 1-bit of length] + <elias length> = another match AfterMatch1: add a, a jr nc, RunOfLiterals UsualMatch: ; this is the case of usual match+offset add a, a jr nc, LongerOffets jr nz, ShorterOffsets ; NZ after NC == "confirmed C" ld a, (hl) ; reload bits inc hl rla jr c, ShorterOffsets LongerOffets: inc c add a, a ; inline read gamma rl c add a, a jr nc, $-4 call z, ReloadReadGamma ProcessOffset: ex af, af' xor a sub c ret z ; end-of-data marker (only checked for longer offsets) rra ld (PrevOffset+2),a ld a, (hl) inc hl rra ld (PrevOffset+1), a ; lowest bit is the first bit of the gamma code for length jr c, CopyMatch2 ; this wastes 1 t-state for longer matches far away, ; but saves 4 t-states for longer nearby (seems to pay off in testing) ld c, b LongerMatch: inc c ; doing SCF here ensures that AF' has flag C ON and costs ; cheaper than doing SCF in the ShortestOffsets branch scf ex af, af' add a, a ; inline read gamma rl c add a, a jr nc, $-4 call z,ReloadReadGamma inc bc CopyMatch3: push hl ; preserve source ld hl, (PrevOffset+1) ; restore offset add hl, de ; HL = dest - offset ; because BC>=3, we can do 2 x LDI safely ldi ldi ldir pop hl ; restore source ; after a match you can have either ; 0 + <elias length> = run of literals, or ; 1 + <elias offset msb> + [7-bits of offset lsb + 1-bit of length] + <elias length> = another match AfterMatch3: add a, a jr c, UsualMatch RunOfLiterals: inc c add a, a jr nc, LongerRun jr nz, CopyLiteral ; NZ after NC == "confirmed C" ld a, (hl) ; reload bits inc hl rla jr c, CopyLiteral LongerRun: add a, a ; inline read gamma rl c add a, a jr nc, $-4 jr nz, CopyLiterals ld a, (hl) ; reload bits inc hl rla call nc, ReadGammaAligned CopyLiterals: ldi CopyLiteral: ldir ; after a literal run you can have either ; 0 + <elias length> = match using a repeated offset, or ; 1 + <elias offset msb> + [7-bits of offset lsb + 1-bit of length] + <elias length> = another match add a, a jr c, UsualMatch RepMatch: inc c add a, a jr nc, LongerRepMatch jr nz, CopyMatch1 ; NZ after NC == "confirmed C" ld a, (hl) ; reload bits inc hl rla jr c, CopyMatch1 LongerRepMatch: add a, a ; inline read gamma rl c add a, a jr nc, $-4 jp nz, CopyMatch1 ; this is a crafty equivalent of CALL ReloadReadGamma : JP CopyMatch1 push ix ; the subroutine for reading the remainder of the partly read Elias gamma code. ; it has two entry points: ReloadReadGamma first refills the bit reservoir in A, ; while ReadGammaAligned assumes that the bit reservoir has just been refilled. ReloadReadGamma: ld a, (hl) ; reload bits inc hl rla ReadGammaAligned: ret c add a, a rl c add a, a ret c add a, a rl c add a, a ReadingLongGamma: ; this loop does not need unrolling, as it does not get much use anyway ret c add a, a rl c rl b add a, a jr nz, ReadingLongGamma ld a, (hl) ; reload bits inc hl rla jr ReadingLongGamma
31.61753
111
0.529108
97888b128ae4f415b0b4791def3ac20714dac868
1,839
kt
Kotlin
co2Chart/src/main/java/com/alessandro/co2chart/ui/chart/Co2MarkerView.kt
Alexs784/co2-client-android
2659c1f2109097030572a9e8f05f06cb08103f40
[ "MIT" ]
null
null
null
co2Chart/src/main/java/com/alessandro/co2chart/ui/chart/Co2MarkerView.kt
Alexs784/co2-client-android
2659c1f2109097030572a9e8f05f06cb08103f40
[ "MIT" ]
null
null
null
co2Chart/src/main/java/com/alessandro/co2chart/ui/chart/Co2MarkerView.kt
Alexs784/co2-client-android
2659c1f2109097030572a9e8f05f06cb08103f40
[ "MIT" ]
null
null
null
package com.alessandro.co2chart.ui.chart import android.content.Context import android.graphics.Typeface import android.text.SpannableString import android.text.style.StyleSpan import com.alessandro.co2chart.R import com.github.mikephil.charting.components.MarkerView import com.github.mikephil.charting.data.Entry import com.github.mikephil.charting.highlight.Highlight import com.github.mikephil.charting.utils.MPPointF import kotlinx.android.synthetic.main.marker_co2_data.view.* import java.util.* class Co2MarkerView(context: Context) : MarkerView(context, R.layout.marker_co2_data) { override fun refreshContent(entry: Entry?, highlight: Highlight?) { entry?.let { validEntry -> val co2 = "${validEntry.y.toInt()} ppm" val calendar = Calendar.getInstance() calendar.timeInMillis = validEntry.x.toLong() val date = getFormattedDate(calendar) val text = "$co2 - $date" val spannableString = SpannableString(text) spannableString.setSpan( StyleSpan(Typeface.BOLD), text.indexOf(co2), co2.length, SpannableString.SPAN_EXCLUSIVE_EXCLUSIVE ) co2MarkerTextView.text = spannableString } super.refreshContent(entry, highlight) } override fun getOffset(): MPPointF { return MPPointF(-width.toFloat(), -height.toFloat()) } private fun getFormattedDate(calendar: Calendar): String { val day = calendar.get(Calendar.DAY_OF_MONTH) val month = calendar.getDisplayName(Calendar.MONTH, Calendar.LONG, Locale.getDefault()) val hour = calendar.get(Calendar.HOUR_OF_DAY) val minute = String.format("%02d", calendar.get(Calendar.MINUTE)) return "$day $month, $hour:$minute" } }
36.058824
95
0.682436
f7214e46e7451355a00aee57b9fbd461d78cdff6
1,522
h
C
Broadcast/Broadcast/Tools/MyTools/PopView/LJAlertView.h
DistanceLe/Broadcast
f3ff3304ffe423c52c4ab77b7b268494142fff5a
[ "MIT" ]
null
null
null
Broadcast/Broadcast/Tools/MyTools/PopView/LJAlertView.h
DistanceLe/Broadcast
f3ff3304ffe423c52c4ab77b7b268494142fff5a
[ "MIT" ]
null
null
null
Broadcast/Broadcast/Tools/MyTools/PopView/LJAlertView.h
DistanceLe/Broadcast
f3ff3304ffe423c52c4ab77b7b268494142fff5a
[ "MIT" ]
null
null
null
// // LJAlertView.h // 7dmallStore // // Created by celink on 15/6/30. // Copyright (c) 2015年 celink. All rights reserved. // #import <UIKit/UIKit.h> typedef void(^CommitBlock)(NSInteger flag); @interface LJAlertView : UIView /** cancel 不回调, 其他从1开始依次累加 */ +(void)showAlertWithTitle:(NSString*)title message:(NSString *)message showViewController:(UIViewController*)viewController cancelTitle:(NSString *)cancelTitle otherTitles:(NSArray<NSString*>*)otherTitles clickHandler:(void(^)(NSInteger index, NSString* title))handler; /** cancel 不回调, 点击确定,回调输入框的文字 */ +(void)showTextFieldAlertWithTitle:(NSString*)title message:(NSString *)message showViewController:(UIViewController*)viewController cancelTitle:(NSString *)cancelTitle confirmTitle:(NSString *)confirmTitle textFieldText:(NSString*)textFieldText textFieldPlaceholder:(NSString*)placeholder clickHandler:(void(^)(NSString* textFieldText))handler; /** 显示底部弹出框 cancel 不回调 , 其他从1开始依次累加 */ +(void)showSheetAlertWithTitle:(NSString*)title message:(NSString *)message showViewController:(UIViewController*)viewController cancelTitle:(NSString *)cancelTitle otherTitles:(NSArray<NSString*>*)otherTitles clickHandler:(void(^)(NSInteger index, NSString* title))handler; @end
31.061224
77
0.638633
ce888cba909b64c183b0e4af677fdc6720723aa2
838
lua
Lua
Publisher-CombatLogDeaths.lua
DanTup/RareShare
0cf415d95a9642723511dd4503171f70cbfce6f5
[ "MIT" ]
null
null
null
Publisher-CombatLogDeaths.lua
DanTup/RareShare
0cf415d95a9642723511dd4503171f70cbfce6f5
[ "MIT" ]
null
null
null
Publisher-CombatLogDeaths.lua
DanTup/RareShare
0cf415d95a9642723511dd4503171f70cbfce6f5
[ "MIT" ]
null
null
null
local function handleCombatLogDeaths(timeStamp, event, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags) if event ~= "UNIT_DIED" then return end local rareID = RareShare:UnitIDFromGuid(destGUID) local rare = { ID = RareShare:ToInt(rareID), Name = destName, Zone = GetZoneText(), EventType = "Dead", Time = RareShare:ToInt(timeStamp), AllowAnnouncing = true, SourceCharacter = UnitName("player"), SourcePublisher = "RareShareCombatLog" } RareShare:Publish(rare) end local function onEvent(self, event, ...) if event == "COMBAT_LOG_EVENT_UNFILTERED" then handleCombatLogDeaths(...) end end local frame = CreateFrame("MessageFrame", "RareShareCombatLogDeaths") frame:SetScript("OnEvent", onEvent) frame:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
28.896552
167
0.76253
4e5a879f6ce051315b661a856ed671d4456695c1
1,289
swift
Swift
ARQuest/Modules/Profile Flow/EditProfile/Presenter/EditProfilePresenter.swift
AntonPoltoratskyi/AR-Quest
bbe223329ec5c6933781ec32fcef5d95f747b4f3
[ "MIT" ]
null
null
null
ARQuest/Modules/Profile Flow/EditProfile/Presenter/EditProfilePresenter.swift
AntonPoltoratskyi/AR-Quest
bbe223329ec5c6933781ec32fcef5d95f747b4f3
[ "MIT" ]
1
2018-07-19T23:12:50.000Z
2018-07-19T23:12:50.000Z
ARQuest/Modules/Profile Flow/EditProfile/Presenter/EditProfilePresenter.swift
AntonPoltoratskyi/AR-Quest
bbe223329ec5c6933781ec32fcef5d95f747b4f3
[ "MIT" ]
null
null
null
// // EditProfilePresenter.swift // ARQuest // // Created by Anton Poltoratskyi on 22.04.2018. // Copyright © 2018 Anton Poltoratskyi. All rights reserved. // import UIKit final class EditProfilePresenter: Presenter, EditProfileModuleInput { typealias View = EditProfileViewInput typealias Interactor = EditProfileInteractorInput typealias Router = EditProfileRouterInput weak var view: View! var interactor: Interactor! var router: Router! private var user: User? } // MARK: - EditProfileViewOutput extension EditProfilePresenter: EditProfileViewOutput { func didClickSave(userInfo: EditUserInfo) { guard let user = user else { return } // TODO: validate username user.name = userInfo.username interactor.editUser(user) } } // MARK: - EditProfileInteractorOutput extension EditProfilePresenter: EditProfileInteractorOutput { func viewDidLoad() { interactor.fetchUserInfo() } func didFetchUser(_ user: User) { self.user = user view.setup(with: user) } func didEditUser(_ user: User) { self.user = user view.setup(with: user) router.finish() } func didReceiveFailure(_ error: Error) { } }
22.614035
69
0.660978
2f4637f21a4c56a3a6c3aebad2e6a0d73f99c7a7
1,548
php
PHP
app/application/views/projects/index.php
coffee4code/simple-issue
d8def38b8aa4e8e0280575e60ce871893d82af28
[ "MIT" ]
93
2015-01-07T14:26:35.000Z
2021-02-03T17:36:54.000Z
app/application/views/projects/index.php
smallyin/simple-issue
d8def38b8aa4e8e0280575e60ce871893d82af28
[ "MIT" ]
64
2015-02-07T13:30:22.000Z
2021-05-08T17:33:51.000Z
app/application/views/projects/index.php
smallyin/simple-issue
d8def38b8aa4e8e0280575e60ce871893d82af28
[ "MIT" ]
68
2015-01-30T09:35:40.000Z
2022-03-25T00:27:38.000Z
<h3> <?php echo __('tinyissue.projects');?> <span><?php echo __('tinyissue.projects_description');?></span> </h3> <div class="pad"> <ul class="tabs"> <li <?php echo $active == 'active' ? 'class="active"' : ''; ?>> <a href="<?php echo URL::to('projects'); ?>"> <?php echo $active_count == 1 ? '1 '.__('tinyissue.active').' '.__('tinyissue.project') : $active_count . ' '.__('tinyissue.active').' '.__('tinyissue.projects'); ?> </a> </li> <li <?php echo $active == 'archived' ? 'class="active"' : ''; ?>> <a href="<?php echo URL::to('projects'); ?>?status=0"> <?php echo $archived_count == 1 ? '1 '.__('tinyissue.archived').' '.__('tinyissue.project') : $archived_count . ' '.__('tinyissue.archived').' '.__('tinyissue.projects'); ?> </a> </li> </ul> <div class="inside-tabs"> <div class="blue-box"> <div class="inside-pad"> <ul class="projects"> <?php foreach($projects as $row): $issues = $row->issues()->where('status', '=', 1)->count(); ?> <li> <a href="<?php echo $row->to(); ?>"><?php echo $row->name; ?></a><br /> <?php echo $issues == 1 ? '1 '. __('tinyissue.open_issue') : $issues . ' '. __('tinyissue.open_issues'); ?> </li> <?php endforeach; ?> <?php if(count($projects) == 0): ?> <li> <?php echo __('tinyissue.you_do_not_have_any_projects'); ?> <a href="<?php echo URL::to('projects/new'); ?>"><?php echo __('tinyissue.create_project'); ?></a> </li> <?php endif; ?> </ul> </div> </div> </div> </div>
29.769231
177
0.537468
48fe4e985ff55a9aaf6b65baf387af8589d6f8d8
9,658
c
C
mi8/drivers/spmi/spmi-pmic-arb-debug.c
wqk317/mi8_kernel_source
e3482d1a7ea6021de2fc8f3178496b4b043bb727
[ "MIT" ]
null
null
null
mi8/drivers/spmi/spmi-pmic-arb-debug.c
wqk317/mi8_kernel_source
e3482d1a7ea6021de2fc8f3178496b4b043bb727
[ "MIT" ]
null
null
null
mi8/drivers/spmi/spmi-pmic-arb-debug.c
wqk317/mi8_kernel_source
e3482d1a7ea6021de2fc8f3178496b4b043bb727
[ "MIT" ]
1
2020-03-28T11:26:15.000Z
2020-03-28T11:26:15.000Z
/* * Copyright (c) 2012-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include <linux/clk.h> #include <linux/delay.h> #include <linux/err.h> #include <linux/io.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/of.h> #include <linux/platform_device.h> #include <linux/slab.h> #include <linux/spmi.h> /* PMIC Arbiter debug register offsets */ #define PMIC_ARB_DEBUG_CMD0 0x00 #define PMIC_ARB_DEBUG_CMD1 0x04 #define PMIC_ARB_DEBUG_CMD2 0x08 #define PMIC_ARB_DEBUG_CMD3 0x0C #define PMIC_ARB_DEBUG_STATUS 0x14 #define PMIC_ARB_DEBUG_WDATA(n) (0x18 + 4 * (n)) #define PMIC_ARB_DEBUG_RDATA(n) (0x38 + 4 * (n)) /* Transaction status flag bits */ enum pmic_arb_chnl_status { PMIC_ARB_STATUS_DONE = BIT(0), PMIC_ARB_STATUS_FAILURE = BIT(1), PMIC_ARB_STATUS_DENIED = BIT(2), PMIC_ARB_STATUS_DROPPED = BIT(3), }; /* Command Opcodes */ enum pmic_arb_cmd_op_code { PMIC_ARB_OP_EXT_WRITEL = 0, PMIC_ARB_OP_EXT_READL = 1, PMIC_ARB_OP_EXT_WRITE = 2, PMIC_ARB_OP_RESET = 3, PMIC_ARB_OP_SLEEP = 4, PMIC_ARB_OP_SHUTDOWN = 5, PMIC_ARB_OP_WAKEUP = 6, PMIC_ARB_OP_AUTHENTICATE = 7, PMIC_ARB_OP_MSTR_READ = 8, PMIC_ARB_OP_MSTR_WRITE = 9, PMIC_ARB_OP_EXT_READ = 13, PMIC_ARB_OP_WRITE = 14, PMIC_ARB_OP_READ = 15, PMIC_ARB_OP_ZERO_WRITE = 16, }; #define PMIC_ARB_TIMEOUT_US 100 #define PMIC_ARB_MAX_TRANS_BYTES 8 #define PMIC_ARB_MAX_SID 0xF /** * spmi_pmic_arb_debug - SPMI PMIC Arbiter debug object * * @addr: base address of SPMI PMIC arbiter debug module * @lock: lock to synchronize accesses. */ struct spmi_pmic_arb_debug { void __iomem *addr; raw_spinlock_t lock; struct clk *clock; }; static inline void pmic_arb_debug_write(struct spmi_pmic_arb_debug *pa, u32 offset, u32 val) { writel_relaxed(val, pa->addr + offset); } static inline u32 pmic_arb_debug_read(struct spmi_pmic_arb_debug *pa, u32 offset) { return readl_relaxed(pa->addr + offset); } /* pa->lock must be held by the caller. */ static int pmic_arb_debug_wait_for_done(struct spmi_controller *ctrl) { struct spmi_pmic_arb_debug *pa = spmi_controller_get_drvdata(ctrl); u32 status = 0; u32 timeout = PMIC_ARB_TIMEOUT_US; while (timeout--) { status = pmic_arb_debug_read(pa, PMIC_ARB_DEBUG_STATUS); if (status & PMIC_ARB_STATUS_DONE) { if (status & PMIC_ARB_STATUS_DENIED) { dev_err(&ctrl->dev, "%s: transaction denied (0x%x)\n", __func__, status); return -EPERM; } if (status & PMIC_ARB_STATUS_FAILURE) { dev_err(&ctrl->dev, "%s: transaction failed (0x%x)\n", __func__, status); return -EIO; } if (status & PMIC_ARB_STATUS_DROPPED) { dev_err(&ctrl->dev, "%s: transaction dropped (0x%x)\n", __func__, status); return -EIO; } return 0; } udelay(1); } dev_err(&ctrl->dev, "%s: timeout, status 0x%x\n", __func__, status); return -ETIMEDOUT; } /* pa->lock must be held by the caller. */ static int pmic_arb_debug_issue_command(struct spmi_controller *ctrl, u8 opc, u8 sid, u16 addr, size_t len) { struct spmi_pmic_arb_debug *pa = spmi_controller_get_drvdata(ctrl); u16 pid = (addr >> 8) & 0xFF; u16 offset = addr & 0xFF; u8 byte_count = len - 1; if (byte_count >= PMIC_ARB_MAX_TRANS_BYTES) { dev_err(&ctrl->dev, "pmic-arb supports 1 to %d bytes per transaction, but %zu requested", PMIC_ARB_MAX_TRANS_BYTES, len); return -EINVAL; } if (sid > PMIC_ARB_MAX_SID) { dev_err(&ctrl->dev, "pmic-arb supports sid 0 to %u, but %u requested", PMIC_ARB_MAX_SID, sid); return -EINVAL; } pmic_arb_debug_write(pa, PMIC_ARB_DEBUG_CMD3, offset); pmic_arb_debug_write(pa, PMIC_ARB_DEBUG_CMD2, pid); pmic_arb_debug_write(pa, PMIC_ARB_DEBUG_CMD1, (byte_count << 4) | sid); /* Start the transaction */ pmic_arb_debug_write(pa, PMIC_ARB_DEBUG_CMD0, opc << 1); return pmic_arb_debug_wait_for_done(ctrl); } /* Non-data command */ static int pmic_arb_debug_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid) { dev_dbg(&ctrl->dev, "cmd op:0x%x sid:%d\n", opc, sid); /* Check for valid non-data command */ if (opc < SPMI_CMD_RESET || opc > SPMI_CMD_WAKEUP) return -EINVAL; return -EOPNOTSUPP; } static int pmic_arb_debug_read_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, u16 addr, u8 *buf, size_t len) { struct spmi_pmic_arb_debug *pa = spmi_controller_get_drvdata(ctrl); unsigned long flags; int i, rc; /* Check the opcode */ if (opc >= 0x60 && opc <= 0x7F) opc = PMIC_ARB_OP_READ; else if (opc >= 0x20 && opc <= 0x2F) opc = PMIC_ARB_OP_EXT_READ; else if (opc >= 0x38 && opc <= 0x3F) opc = PMIC_ARB_OP_EXT_READL; else return -EINVAL; rc = clk_prepare_enable(pa->clock); if (rc) { pr_err("%s: failed to enable core clock, rc=%d\n", __func__, rc); return rc; } raw_spin_lock_irqsave(&pa->lock, flags); rc = pmic_arb_debug_issue_command(ctrl, opc, sid, addr, len); if (rc) goto done; /* Read data from FIFO */ for (i = 0; i < len; i++) buf[i] = pmic_arb_debug_read(pa, PMIC_ARB_DEBUG_RDATA(i)); done: raw_spin_unlock_irqrestore(&pa->lock, flags); clk_disable_unprepare(pa->clock); return rc; } static int pmic_arb_debug_write_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, u16 addr, const u8 *buf, size_t len) { struct spmi_pmic_arb_debug *pa = spmi_controller_get_drvdata(ctrl); unsigned long flags; int i, rc; if (len > PMIC_ARB_MAX_TRANS_BYTES) { dev_err(&ctrl->dev, "pmic-arb supports 1 to %d bytes per transaction, but %zu requested", PMIC_ARB_MAX_TRANS_BYTES, len); return -EINVAL; } /* Check the opcode */ if (opc >= 0x40 && opc <= 0x5F) opc = PMIC_ARB_OP_WRITE; else if (opc >= 0x00 && opc <= 0x0F) opc = PMIC_ARB_OP_EXT_WRITE; else if (opc >= 0x30 && opc <= 0x37) opc = PMIC_ARB_OP_EXT_WRITEL; else if (opc >= 0x80) opc = PMIC_ARB_OP_ZERO_WRITE; else return -EINVAL; rc = clk_prepare_enable(pa->clock); if (rc) { pr_err("%s: failed to enable core clock, rc=%d\n", __func__, rc); return rc; } raw_spin_lock_irqsave(&pa->lock, flags); /* Write data to FIFO */ for (i = 0; i < len; i++) pmic_arb_debug_write(pa, PMIC_ARB_DEBUG_WDATA(i), buf[i]); rc = pmic_arb_debug_issue_command(ctrl, opc, sid, addr, len); raw_spin_unlock_irqrestore(&pa->lock, flags); clk_disable_unprepare(pa->clock); return rc; } static int spmi_pmic_arb_debug_probe(struct platform_device *pdev) { struct spmi_pmic_arb_debug *pa; struct spmi_controller *ctrl; struct resource *res; int rc; u32 fuse_val, fuse_bit; void __iomem *fuse_addr; /* Check if the debug bus is disabled by a fuse. */ rc = of_property_read_u32(pdev->dev.of_node, "qcom,fuse-disable-bit", &fuse_bit); if (!rc) { if (fuse_bit > 31) { dev_err(&pdev->dev, "qcom,fuse-disable-bit supports values 0 to 31, but %u specified\n", fuse_bit); return -EINVAL; } res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "fuse"); if (!res) { dev_err(&pdev->dev, "fuse address not specified\n"); return -EINVAL; } fuse_addr = devm_ioremap_resource(&pdev->dev, res); if (IS_ERR(fuse_addr)) return PTR_ERR(fuse_addr); fuse_val = readl_relaxed(fuse_addr); devm_iounmap(&pdev->dev, fuse_addr); if (fuse_val & BIT(fuse_bit)) { dev_err(&pdev->dev, "SPMI PMIC arbiter debug bus disabled by fuse\n"); return -ENODEV; } } ctrl = spmi_controller_alloc(&pdev->dev, sizeof(*pa)); if (!ctrl) return -ENOMEM; pa = spmi_controller_get_drvdata(ctrl); res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "core"); if (!res) { dev_err(&pdev->dev, "core address not specified\n"); rc = -EINVAL; goto err_put_ctrl; } pa->addr = devm_ioremap_resource(&ctrl->dev, res); if (IS_ERR(pa->addr)) { rc = PTR_ERR(pa->addr); goto err_put_ctrl; } if (of_find_property(pdev->dev.of_node, "clock-names", NULL)) { pa->clock = devm_clk_get(&pdev->dev, "core_clk"); if (IS_ERR(pa->clock)) { rc = PTR_ERR(pa->clock); if (rc != -EPROBE_DEFER) dev_err(&pdev->dev, "unable to request core clock, rc=%d\n", rc); goto err_put_ctrl; } } platform_set_drvdata(pdev, ctrl); raw_spin_lock_init(&pa->lock); ctrl->cmd = pmic_arb_debug_cmd; ctrl->read_cmd = pmic_arb_debug_read_cmd; ctrl->write_cmd = pmic_arb_debug_write_cmd; rc = spmi_controller_add(ctrl); if (rc) goto err_put_ctrl; dev_info(&ctrl->dev, "SPMI PMIC arbiter debug bus controller added\n"); return 0; err_put_ctrl: spmi_controller_put(ctrl); return rc; } static int spmi_pmic_arb_debug_remove(struct platform_device *pdev) { struct spmi_controller *ctrl = platform_get_drvdata(pdev); spmi_controller_remove(ctrl); spmi_controller_put(ctrl); return 0; } static const struct of_device_id spmi_pmic_arb_debug_match_table[] = { { .compatible = "qcom,spmi-pmic-arb-debug", }, {}, }; MODULE_DEVICE_TABLE(of, spmi_pmic_arb_debug_match_table); static struct platform_driver spmi_pmic_arb_debug_driver = { .probe = spmi_pmic_arb_debug_probe, .remove = spmi_pmic_arb_debug_remove, .driver = { .name = "spmi_pmic_arb_debug", .of_match_table = spmi_pmic_arb_debug_match_table, }, }; module_platform_driver(spmi_pmic_arb_debug_driver); MODULE_LICENSE("GPL v2"); MODULE_ALIAS("platform:spmi_pmic_arb_debug");
25.962366
91
0.710499
989e0a6d2fda484da887ade1dc6969cf75bf993f
1,355
html
HTML
Lab3/Lab3/templates/index.html
sanchaez/python_labs
b90ab02c0fae82511c3db5a054b7ea8dda5d0a22
[ "MIT" ]
null
null
null
Lab3/Lab3/templates/index.html
sanchaez/python_labs
b90ab02c0fae82511c3db5a054b7ea8dda5d0a22
[ "MIT" ]
null
null
null
Lab3/Lab3/templates/index.html
sanchaez/python_labs
b90ab02c0fae82511c3db5a054b7ea8dda5d0a22
[ "MIT" ]
null
null
null
<!doctype html> <html> <head> <title>lab 2</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" href="/lab2/static/theme.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script> <script src="/lab2/static/scripts.js"></script> <link type="text/css" rel="stylesheet" href="/lab2/static/styles.css"> </head> <body> <div class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="/">Lab 2 eShop</a> </div> <div class="collapse navbar-collapse"> <ul class="nav navbar-nav"> {% for punct in navbar %} <li><a href="{{punct.link}}">{{punct.title}}</a></li> {% endfor %} </ul> </div><!--/ nav --> </div> </div> <div style="margin-top: 100px" class="container"> <div class="row"> <div class="col-md-12"> <a href="#" id="fill_with_json" class="btn btn-block btn-primary">Fill database fro JSON file</a> </div> </div> </div> </body> </html>
34.74359
104
0.590406
75f2eb99e3f3af9365f8345a90deec0ccbf80804
1,783
php
PHP
hphp/test/slow/parser/extension/body_namespaces.php
donsbot/hhvm
ac98a590f75c569e1249b6c1145c7512c7bd240e
[ "PHP-3.01", "Zend-2.0" ]
9,491
2015-01-01T00:30:28.000Z
2022-03-31T20:22:11.000Z
hphp/test/slow/parser/extension/body_namespaces.php
donsbot/hhvm
ac98a590f75c569e1249b6c1145c7512c7bd240e
[ "PHP-3.01", "Zend-2.0" ]
4,796
2015-01-01T00:26:31.000Z
2022-03-31T01:09:05.000Z
hphp/test/slow/parser/extension/body_namespaces.php
donsbot/hhvm
ac98a590f75c569e1249b6c1145c7512c7bd240e
[ "PHP-3.01", "Zend-2.0" ]
2,126
2015-01-01T11:13:29.000Z
2022-03-28T19:58:15.000Z
<?hh namespace { class SomethingElse {} } namespace N1 { trait T1 { public function ignoreme1() {} } interface I1 { public function ignoreme2(); } interface I2 { public function ignoreme3(); } interface I3 extends I1, I2 { public function ignoreme4(); } class C1 { public function ignoreme5() {} } abstract class C2 { public function ignoreme6() {} } abstract final class C3 extends C2 { public static function yes_officer_this_method_here1() {} } class Something {} interface IDontcare {} interface IReallyDont {} class C4 extends Something implements IDontcare, IReallyDont { public function yes_officer_this_method_here2() {} } class C5 extends \SomethingElse { public function yes_officer_this_method_here3() {} } } namespace N2\N3 { class CompletelyDifferent {} class C6 extends CompletelyDifferent { public function yes_officer_this_method_here4() {} } } namespace { trait T2 { public function ignoreme7() {} } interface I4 { public function ignoreme8(); } interface I5 { public function ignoreme9(); } interface I6 extends I4, I5 { public function ignoreme10(); } class C7 { public function ignoreme11() {} } abstract class C8 { public function ignoreme12() {} } abstract final class C9 extends C8 { public static function yes_officer_this_method_here5() {} } class AnotherThing {} interface IDontcare {} interface IReallyDont {} class C10 extends AnotherThing implements IDontcare, IReallyDont { public function yes_officer_this_method_here6() {} } <<__EntryPoint>> function main() { $program = file_get_contents(__FILE__); $json = HH\ffp_parse_string($program); $results = HH\ExperimentalParserUtils\find_test_methods($json); \var_dump($results); } }
26.220588
68
0.711722
39c4395ab44f73de22a611ba3438d01d3351c39a
1,153
js
JavaScript
node_modules/@wordpress/rich-text/build/is-active-list-type.js
ajchdev/outside-event
edaa958d74d5a1431f617bcbcef0d2e838103bd2
[ "MIT" ]
null
null
null
node_modules/@wordpress/rich-text/build/is-active-list-type.js
ajchdev/outside-event
edaa958d74d5a1431f617bcbcef0d2e838103bd2
[ "MIT" ]
null
null
null
node_modules/@wordpress/rich-text/build/is-active-list-type.js
ajchdev/outside-event
edaa958d74d5a1431f617bcbcef0d2e838103bd2
[ "MIT" ]
null
null
null
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isActiveListType = isActiveListType; var _getLineIndex = require("./get-line-index"); /** * Internal dependencies */ /** @typedef {import('./create').RichTextValue} RichTextValue */ /** * Whether or not the selected list has the given tag name. * * @param {RichTextValue} value The value to check. * @param {string} type The tag name the list should have. * @param {string} rootType The current root tag name, to compare with in * case nothing is selected. * * @return {boolean} True if the current list type matches `type`, false if not. */ function isActiveListType(value, type, rootType) { var replacements = value.replacements, start = value.start; var lineIndex = (0, _getLineIndex.getLineIndex)(value, start); var replacement = replacements[lineIndex]; if (!replacement || replacement.length === 0) { return type === rootType; } var lastFormat = replacement[replacement.length - 1]; return lastFormat.type === type; } //# sourceMappingURL=is-active-list-type.js.map
29.564103
80
0.673027
47ee4b6ff2134e349df3aa16df1fecd517c79c7e
2,838
css
CSS
src/Ufuturelabs/Ufuturedesk/MainBundle/Resources/public/css/styles.css
avegao/ufuturedesk-server
aeefc8a5591f0e72840d81a590a6517e1a21be6b
[ "Apache-2.0" ]
1
2018-02-20T17:54:41.000Z
2018-02-20T17:54:41.000Z
src/Ufuturelabs/Ufuturedesk/MainBundle/Resources/public/css/styles.css
avegao/ufuturedesk-server
aeefc8a5591f0e72840d81a590a6517e1a21be6b
[ "Apache-2.0" ]
null
null
null
src/Ufuturelabs/Ufuturedesk/MainBundle/Resources/public/css/styles.css
avegao/ufuturedesk-server
aeefc8a5591f0e72840d81a590a6517e1a21be6b
[ "Apache-2.0" ]
null
null
null
body { font-family: Helvetica, sans-serif; background-color: white; margin: 0px; } nav { color: #7f9cff; background-color: #525252; width: 25%; max-width: 250px; min-width: 130px; min-height: 100%; font-size: 12px; position: fixed; top: 0px; left: 0px; z-index: 2; } nav ul { list-style-type: none; margin: 0px; padding: 0px; } nav ul li { border-bottom: 1px solid #bebebe; padding: 20px; margin-top: 0px; } nav ul li:hover, .nav_active { background-color: white; } #nav_logo { border-bottom: none; background-color: #7f9cff; } #nav_logo img { position: relative; left: 10%; } nav ul li a:link, nav ul li a:visited { text-decoration: none; color: #7f9cff; } nav ul li a span { padding-right: 10px; } .nav_active { background-color: white; } .menu_notification { /* display: none; */ float: right; background-color: #f04848; color: #f0f0f0; padding-top: 2px; padding-bottom: 2px; padding-left: 5px; padding-right: 5px; border-radius: 3px; position: relative; top: -3px; } header { color: #4C4C4C; background-color: #F3F3F3; position: fixed; left: 0px; top: 0px; right: 0px; height: 65px; z-index: 1; } header h1 { position: relative; left: 260px; float: left; } header ul { list-style-type: none; height: 100%; float: right; } header .user_info:hover { background-color: #ebebeb; } header .user_info li { display: inline; margin-right: 25px; } header .user_info .user_name { position: relative; top: 20%; } header .user_info .user_photo { border-radius: 25px; position: relative; top: 10px; } header .user_info_extended { display: none; position: absolute; top: 100%; background-color: #ebebeb; padding: 15px; z-index: 2; } .user_info:hover .user_info_extended { display: block; } article { position: relative; left: 260px; top: 80px; max-width: 75%; } article div { position: relative; left: 1%; } #login_box { background-color: #dddddd; position: absolute; top: 25%; left: 40%; padding: 35px; text-align: center; } #login_box input { position: relative; height: auto; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 10px; font-size: 16px; } #login_box input:focus { z-index: 2; } #login_box input[type="text"] { border-top-left-radius: 5px; border-top-right-radius: 5px; margin-bottom: -1px; } #login_box input[type="password"] { border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; margin-bottom: 10px; } .administration-preview-actions { padding-top: 10px; } .ufuturedesk-school-administration-preview { position: relative; top: -144px; } .ufuturedesk-data-administration-preview-group { position: relative; top: -250px; } .ufuturedesk-administration-preview-info { position: relative; left: 20%; top: -144px; }
14.479592
48
0.675476
4f731343665b1927a4318c7cd36a5a07b039ab8c
1,445
sql
SQL
api/api_sources/schema-migration-sql/CountrySchema/CountrySchema.sql
boost-entropy-repos-org/lucy-web
fddff7bb8167a0c54d4784d78259115f33ee0706
[ "Apache-2.0" ]
2
2020-04-14T19:10:37.000Z
2020-07-27T22:20:20.000Z
api/api_sources/schema-migration-sql/CountrySchema/CountrySchema.sql
boost-entropy-repos-org/lucy-web
fddff7bb8167a0c54d4784d78259115f33ee0706
[ "Apache-2.0" ]
589
2019-04-17T19:07:01.000Z
2022-03-08T23:40:35.000Z
api/api_sources/schema-migration-sql/CountrySchema/CountrySchema.sql
boost-entropy-repos-org/lucy-web
fddff7bb8167a0c54d4784d78259115f33ee0706
[ "Apache-2.0" ]
8
2020-07-13T23:30:43.000Z
2022-02-02T16:13:35.000Z
-- ### Creating Table: country ### -- CREATE TABLE country (); ALTER TABLE country ADD COLUMN country_code VARCHAR(3) PRIMARY KEY; ALTER TABLE country ADD COLUMN description VARCHAR(100) NOT NULL; -- ### Creating Comments on table ### -- COMMENT ON TABLE country IS 'Standard ISO-3166 code table for listed countries'; COMMENT ON COLUMN country.country_code IS 'ISO-3166 standard three character identifier for country name. Primary key of the table.'; COMMENT ON COLUMN country.description IS 'Detail name of the country'; -- ### Creating Timestamp column ### -- ALTER TABLE country ADD COLUMN created_at TIMESTAMP DEFAULT NOW(); ALTER TABLE country ADD COLUMN updated_at TIMESTAMP DEFAULT NOW(); COMMENT ON COLUMN country.created_at IS 'Timestamp column to check creation time of record'; COMMENT ON COLUMN country.updated_at IS 'Timestamp column to check modify time of record'; -- ### Creating User Audit Columns ### -- ALTER TABLE country ADD COLUMN updated_by_user_id INT NULL DEFAULT NULL REFERENCES application_user(user_id) ON DELETE SET NULL; ALTER TABLE country ADD COLUMN created_by_user_id INT NULL DEFAULT NULL REFERENCES application_user(user_id) ON DELETE SET NULL; COMMENT ON COLUMN country.updated_by_user_id IS 'Audit column to track creator'; COMMENT ON COLUMN country.created_by_user_id IS 'Audit column to track modifier'; -- ### End: country ### --
40.138889
133
0.743253
c59a4e6c1999a6c7cd7b9b4553f9e2db4274eabd
31
kts
Kotlin
settings.gradle.kts
kortov/spring-boot-telegram-bot
efa84e83a62bac0d64faef573558255b2e534d48
[ "MIT" ]
null
null
null
settings.gradle.kts
kortov/spring-boot-telegram-bot
efa84e83a62bac0d64faef573558255b2e534d48
[ "MIT" ]
23
2019-11-07T06:34:00.000Z
2020-04-25T06:00:41.000Z
settings.gradle.kts
kortov/spring-boot-telegram-bot
efa84e83a62bac0d64faef573558255b2e534d48
[ "MIT" ]
3
2019-11-12T13:08:34.000Z
2020-04-09T18:22:16.000Z
rootProject.name = "bootigram"
15.5
30
0.774194
332c81f4c480a3b1d74e9ed525d3b78c37420632
8,717
py
Python
xos/synchronizer/pull_steps/test_pull_olts.py
iecedge/olt-service
0aac847ca228f2c20a2b57c783a414f185a0116c
[ "Apache-2.0" ]
null
null
null
xos/synchronizer/pull_steps/test_pull_olts.py
iecedge/olt-service
0aac847ca228f2c20a2b57c783a414f185a0116c
[ "Apache-2.0" ]
null
null
null
xos/synchronizer/pull_steps/test_pull_olts.py
iecedge/olt-service
0aac847ca228f2c20a2b57c783a414f185a0116c
[ "Apache-2.0" ]
null
null
null
# Copyright 2017-present Open Networking Foundation # # 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 agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import unittest from mock import patch, call, Mock, PropertyMock import requests_mock import os, sys test_path=os.path.abspath(os.path.dirname(os.path.realpath(__file__))) class TestSyncOLTDevice(unittest.TestCase): def setUp(self): global DeferredException self.sys_path_save = sys.path # Setting up the config module from xosconfig import Config config = os.path.join(test_path, "../test_config.yaml") Config.clear() Config.init(config, "synchronizer-config-schema.yaml") # END Setting up the config module from xossynchronizer.mock_modelaccessor_build import mock_modelaccessor_config mock_modelaccessor_config(test_path, [("olt-service", "volt.xproto"), ("vsg", "vsg.xproto"), ("rcord", "rcord.xproto"),]) import xossynchronizer.modelaccessor reload(xossynchronizer.modelaccessor) # in case nose2 loaded it in a previous test from xossynchronizer.modelaccessor import model_accessor self.model_accessor = model_accessor from pull_olts import OLTDevicePullStep # import all class names to globals for (k, v) in model_accessor.all_model_classes.items(): globals()[k] = v self.sync_step = OLTDevicePullStep # mock volt service self.volt_service = Mock() self.volt_service.id = "volt_service_id" self.volt_service.voltha_url = "voltha_url" self.volt_service.voltha_user = "voltha_user" self.volt_service.voltha_pass = "voltha_pass" self.volt_service.voltha_port = 1234 # mock voltha responses self.devices = { "items": [ { "id": "test_id", "type": "simulated_olt", "host_and_port": "172.17.0.1:50060", "admin_state": "ENABLED", "oper_status": "ACTIVE", "serial_number": "serial_number", } ] } self.logical_devices = { "items": [ { "root_device_id": "test_id", "id": "of_id", "datapath_id": "55334486016" } ] } self.ports = { "items": [ { "label": "PON port", "port_no": 1, "type": "PON_OLT", "admin_state": "ENABLED", "oper_status": "ACTIVE" }, { "label": "NNI facing Ethernet port", "port_no": 2, "type": "ETHERNET_NNI", "admin_state": "ENABLED", "oper_status": "ACTIVE" } ] } def tearDown(self): sys.path = self.sys_path_save @requests_mock.Mocker() def test_missing_volt_service(self, m): self.assertFalse(m.called) @requests_mock.Mocker() def test_pull(self, m): with patch.object(VOLTService.objects, "all") as olt_service_mock, \ patch.object(OLTDevice, "save") as mock_olt_save, \ patch.object(PONPort, "save") as mock_pon_save, \ patch.object(NNIPort, "save") as mock_nni_save: olt_service_mock.return_value = [self.volt_service] m.get("http://voltha_url:1234/api/v1/devices", status_code=200, json=self.devices) m.get("http://voltha_url:1234/api/v1/devices/test_id/ports", status_code=200, json=self.ports) m.get("http://voltha_url:1234/api/v1/logical_devices", status_code=200, json=self.logical_devices) self.sync_step(model_accessor=self.model_accessor).pull_records() # TODO how to asster this? # self.assertEqual(existing_olt.admin_state, "ENABLED") # self.assertEqual(existing_olt.oper_status, "ACTIVE") # self.assertEqual(existing_olt.volt_service_id, "volt_service_id") # self.assertEqual(existing_olt.device_id, "test_id") # self.assertEqual(existing_olt.of_id, "of_id") # self.assertEqual(existing_olt.dp_id, "of:0000000ce2314000") mock_olt_save.assert_called() mock_pon_save.assert_called() mock_nni_save.assert_called() @requests_mock.Mocker() def test_pull_existing(self, m): existing_olt = Mock() existing_olt.admin_state = "ENABLED" existing_olt.enacted = 2 existing_olt.updated = 1 with patch.object(VOLTService.objects, "all") as olt_service_mock, \ patch.object(OLTDevice.objects, "filter") as mock_get, \ patch.object(PONPort, "save") as mock_pon_save, \ patch.object(NNIPort, "save") as mock_nni_save, \ patch.object(existing_olt, "save") as mock_olt_save: olt_service_mock.return_value = [self.volt_service] mock_get.return_value = [existing_olt] m.get("http://voltha_url:1234/api/v1/devices", status_code=200, json=self.devices) m.get("http://voltha_url:1234/api/v1/devices/test_id/ports", status_code=200, json=self.ports) m.get("http://voltha_url:1234/api/v1/logical_devices", status_code=200, json=self.logical_devices) self.sync_step(model_accessor=self.model_accessor).pull_records() self.assertEqual(existing_olt.admin_state, "ENABLED") self.assertEqual(existing_olt.oper_status, "ACTIVE") self.assertEqual(existing_olt.volt_service_id, "volt_service_id") self.assertEqual(existing_olt.device_id, "test_id") self.assertEqual(existing_olt.of_id, "of_id") self.assertEqual(existing_olt.dp_id, "of:0000000ce2314000") mock_olt_save.assert_called() mock_pon_save.assert_called() mock_nni_save.assert_called() @requests_mock.Mocker() def test_pull_existing_do_not_sync(self, m): existing_olt = Mock() existing_olt.enacted = 1 existing_olt.updated = 2 existing_olt.device_id = "test_id" with patch.object(VOLTService.objects, "all") as olt_service_mock, \ patch.object(OLTDevice.objects, "filter") as mock_get, \ patch.object(PONPort, "save") as mock_pon_save, \ patch.object(NNIPort, "save") as mock_nni_save, \ patch.object(existing_olt, "save") as mock_olt_save: olt_service_mock.return_value = [self.volt_service] mock_get.return_value = [existing_olt] m.get("http://voltha_url:1234/api/v1/devices", status_code=200, json=self.devices) m.get("http://voltha_url:1234/api/v1/devices/test_id/ports", status_code=200, json=self.ports) m.get("http://voltha_url:1234/api/v1/logical_devices", status_code=200, json=self.logical_devices) self.sync_step(model_accessor=self.model_accessor).pull_records() mock_olt_save.assert_not_called() mock_pon_save.assert_called() mock_nni_save.assert_called() @requests_mock.Mocker() def test_pull_deleted_object(self, m): existing_olt = Mock() existing_olt.enacted = 2 existing_olt.updated = 1 existing_olt.device_id = "test_id" m.get("http://voltha_url:1234/api/v1/devices", status_code=200, json={"items": []}) with patch.object(VOLTService.objects, "all") as olt_service_mock, \ patch.object(OLTDevice.objects, "get_items") as mock_get, \ patch.object(existing_olt, "delete") as mock_olt_delete: olt_service_mock.return_value = [self.volt_service] mock_get.return_value = [existing_olt] self.sync_step(model_accessor=self.model_accessor).pull_records() mock_olt_delete.assert_called() if __name__ == "__main__": unittest.main()
39.265766
110
0.609958
f04fe6a0ae66518e152066d2f7472e765f8bd343
2,173
py
Python
tests/test_cli.py
KoichiYasuoka/pynlpir
8d5e994796a2b5d513f7db8d76d7d24a85d531b1
[ "MIT" ]
537
2015-01-12T09:59:57.000Z
2022-03-29T09:22:30.000Z
tests/test_cli.py
KoichiYasuoka/pynlpir
8d5e994796a2b5d513f7db8d76d7d24a85d531b1
[ "MIT" ]
110
2015-01-02T13:17:56.000Z
2022-03-24T07:43:02.000Z
tests/test_cli.py
KoichiYasuoka/pynlpir
8d5e994796a2b5d513f7db8d76d7d24a85d531b1
[ "MIT" ]
150
2015-01-21T01:58:56.000Z
2022-02-23T16:16:40.000Z
"""Unit tests for pynlpir's cli.py file.""" import os import shutil import stat import unittest try: from urllib.error import URLError from urllib.request import urlopen except ImportError: from urllib2 import URLError, urlopen from click.testing import CliRunner from pynlpir import cli TEST_DIR = os.path.abspath(os.path.dirname(__file__)) LICENSE_FILE = os.path.join(TEST_DIR, 'data', 'NLPIR.user') def can_reach_github(): """Check if we can reach GitHub's website.""" try: urlopen('http://github.com') return True except URLError: return False @unittest.skipIf(can_reach_github() is False, 'Unable to reach GitHub') class TestCLI(unittest.TestCase): """Unit tests for the PyNLPIR CLI.""" def setUp(self): self.runner = CliRunner() def tearDown(self): self.runner = None def test_initial_license_download(self): """Tests that an initial license download works correctly.""" with self.runner.isolated_filesystem(): result = self.runner.invoke(cli.cli, ('update', '-d.')) self.assertEqual(0, result.exit_code) self.assertEqual('License updated.\n', result.output) def test_license_update(self): "Test that a regular license update works correctly.""" with self.runner.isolated_filesystem(): shutil.copyfile(LICENSE_FILE, os.path.basename(LICENSE_FILE)) result = self.runner.invoke(cli.cli, ('update', '-d.')) self.assertEqual(0, result.exit_code) self.assertEqual('License updated.\n', result.output) result = self.runner.invoke(cli.cli, ('update', '-d.')) self.assertEqual(0, result.exit_code) self.assertEqual('Your license is already up-to-date.\n', result.output) def test_license_write_fail(self): """Test tha writing a license file fails appropriately.""" with self.runner.isolated_filesystem(): cwd = os.getcwd() os.chmod(cwd, stat.S_IREAD) with self.assertRaises((IOError, OSError)): cli.update_license_file(cwd)
32.432836
73
0.645651
7e727219bf56d284651d3c22a09348ca616fc77b
640
swift
Swift
Tests/JasonTests/Models/Emoji.swift
VaslD/Jason
da4c466083318e7595a5d924037cb4822640af76
[ "ISC" ]
null
null
null
Tests/JasonTests/Models/Emoji.swift
VaslD/Jason
da4c466083318e7595a5d924037cb4822640af76
[ "ISC" ]
null
null
null
Tests/JasonTests/Models/Emoji.swift
VaslD/Jason
da4c466083318e7595a5d924037cb4822640af76
[ "ISC" ]
null
null
null
import Foundation import Jason public struct Emoji: Decodable { public let character: Character public let string: String public init(from decoder: Decoder) throws { let json = try Jason(from: decoder) guard let string = json["string"].rawValue as? String, !string.isEmpty else { throw DecodingError.dataCorrupted(DecodingError.Context( codingPath: decoder.codingPath, debugDescription: "Missing property: string.", underlyingError: nil )) } self.string = string self.character = string[string.startIndex] } }
30.47619
85
0.628125
3df03b9d4c435818081e1766842ba7330aa778fc
169
kt
Kotlin
app/src/main/kotlin/me/mataha/misaki/repository/Module.kt
mataha/puzzle-solutions
82fac9dae62136da8217e21ef5a0d6984d6310e0
[ "MIT" ]
null
null
null
app/src/main/kotlin/me/mataha/misaki/repository/Module.kt
mataha/puzzle-solutions
82fac9dae62136da8217e21ef5a0d6984d6310e0
[ "MIT" ]
null
null
null
app/src/main/kotlin/me/mataha/misaki/repository/Module.kt
mataha/puzzle-solutions
82fac9dae62136da8217e21ef5a0d6984d6310e0
[ "MIT" ]
null
null
null
package me.mataha.misaki.repository import org.koin.dsl.module internal val module = module { single<PuzzleRepository> { DefaultPuzzleRepository() } }
16.9
35
0.715976
3b6f5743674ea792be381245817a398020372db4
8,949
c
C
d/magic/temples/gab/urgoth.c
Dbevan/SunderingShadows
6c15ec56cef43c36361899bae6dc08d0ee907304
[ "MIT" ]
13
2019-07-19T05:24:44.000Z
2021-11-18T04:08:19.000Z
d/magic/temples/gab/urgoth.c
Dbevan/SunderingShadows
6c15ec56cef43c36361899bae6dc08d0ee907304
[ "MIT" ]
4
2021-03-15T18:56:39.000Z
2021-08-17T17:08:22.000Z
d/magic/temples/gab/urgoth.c
Dbevan/SunderingShadows
6c15ec56cef43c36361899bae6dc08d0ee907304
[ "MIT" ]
13
2019-09-12T06:22:38.000Z
2022-01-31T01:15:12.000Z
#include <std.h> #include <daemons.h> #include "../loviatar.h" inherit MONSTER; int FLAG,FLAG1,num,timer,timer1; object ob; void do_check(); void faith_ck(object targ); void create(){ ::create(); set_name("Urgoth"); set_short("Urgoth, Head Inquisitor"); set_id(({"monster","Urgoth","head inquisitor","urgoth", "inquisitor","torturer","half-ogre"})); set_long( "%^MAGENTA%^"+ "The huge beast is a half-ogre. His name is Urgoth "+ "and his job is to cause pain. Muscles ripple beneath "+ "his sweat-stained leather vest. His face is a mass of "+ "scars and there is only a weeping empty socket where "+ "his left eye used to reside. The parts of his flesh "+ "you can see are criss-crossed with scars. It seems "+ "even the master is not passed over for torture." ); set_gender("male"); set_race("half-ogre"); set_hd(27,10); set_class("ranger"); set_mlevel("ranger",30); set_level(30); set_alignment(3); set_body_type("human"); set_size(2); set_overall_ac(5); set_exp(30000); set_stats("strength",20); set_stats("dexterity",13); set_stats("intelligence",10); set_stats("wisdom",10); set_stats("constitution",19); set_stats("charisma",6); set_max_hp(200+random(200)); set_hp(query_max_hp()); set_emotes(1,({ "Urgoth checks the equipment thoroughly.", "Urgoth spits on a dirty cleaning rag and then uses it to "+ "clean the apparatus.", "%^CYAN%^Urgoth grunts: %^RESET%^who next, I gots a chair open "+ "fer ya.\nUrgoth points to the spiked chair.\nUrgoth "+ "chuckles to himself.", "Urgoth blows his nose loud and wet into the disgusting "+ "cleaning rag he carries.", "Urgoth busies himself about the room.", "Urgoth slams a hot poker against the wall to startle the victim.", "Urgoth picks at his teeth with a sharp shard of bone.", "Urgoth leans in close to a victim and breathes his foul breath "+ "into their face.", "Urgoth cracks his whip and cackles malefically.", "Urgoth looms over the victim and checks the chains." }),0); num = random(100); ob = new(CWEAP+"whip"); if(num)ob->set_property("monsterweapon", 1); ob->set_property("enchantment",5); ob->move(TO); command("wield whip"); num = random(100); ob = new(CWEAP+"mclub"); if(num)ob->set_property("monsterweapon", 1); ob->set_property("enchantment",5); ob->move(TO); command("wield club"); num = random(100); ob = new("/d/laerad/obj/bracers6.c"); if(num)ob->set_property("monsterweapon", 1); ob->move(TO); command("wear bracers"); num = random(100); ob = new("/d/deku/armours/ring_p.c"); if(num)ob->set_property("monsterweapon", 1); ob->set_property("enchantment",3); ob->move(TO); command("wear ring"); num = random(100); ob = new("/d/islands/tonerra/obj/hide.c"); if(num)ob->set_property("monsterweapon", 1); ob->set_short("%^BOLD%^%^BLACK%^torturer's vest%^RESET%^"); ob->set_obvious_short("a sweaty leather vest"); ob->set_id(({"vest","leather vest","torturer's vest"})); ob->set_long("This vest covers and protects the "+ "wearer. The leather is stained with sweat and "+ "the aroma of the previous wearer is very difficult "+ "to withstand."); ob->move(TO); command("wear vest"); ob = new("/d/common/obj/potion/healing"); ob->move(TO); ob->set_uses(50); add_search_path("/cmds/ranger"); add_search_path("/cmds/fighter"); command("speech grunt"); command("speak wizish"); set_property("knock unconscious",1); set_property("full attacks",1); set_property("no bows",1); set_func_chance(25); set_funcs(({"thump"})); add_money("gold",random(50)); add_money("silver",random(100)); add_money("copper",random(600)); FLAG1 = 0; FLAG = 0; } void init(){ ::init(); add_action("free_em","free"); if(avatarp(TP) || !interactive(TP)) return; call_out("do_check",2); } void killem(object targ){ command("say %^BOLD%^%^RED%^Urgoth warned ya he did.%^RESET%^"); force_me("kill "+targ->query_name()); } void thump(object targ){ if((int)targ->query_stats("dexterity")>random(25)){ tell_object(targ,"%^BOLD%^%^WHITE%^Urgoth swings his knobby "+ "club at your head and you duck in the nick of time!%^RESET%^"); tell_room(ETO,""+targ->query_cap_name()+" dodges Urgoth's club.",targ); }else{ tell_object(targ,"%^BOLD%^%^RED%^Urgoth swings his knobby club at "+ "your head and catches you with a stunning blow!%^RESET%^"); tell_room(ETO,""+targ->query_cap_name()+" takes Urgoth's club "+ "upside "+targ->query_possessive()+" head and is stunned from the blow!",targ); targ->set_paralyzed((random(25)+5),"%^BOLD%^%^YELLOW%^You're still seeing stars!"); } } void iseeu(object targ){ if((string)targ->query_diety() == "loviatar")return; force_me("say Hide will ya? I kin smell ya!"); force_me("say Get ya out o' Urgoth make you his bitch!"); force_me("emote uncoils his whip slowly and smiles."); call_out("killem",5,targ); return; } int free_em(string str) { if(!str) { tell_object(TP,"%^BOLD%^%^CYAN%^Free who?"); return 1; } if(!interactive(TP)){ tell_room(ETO,"%^BOLD%^"+TPQCN+" looks at Urgoth, looks "+ "at you, and then looks at the victim then backs away "+ "from Urgoth. Looks like this is one job you'll have "+ "to do for yourself.\n"); return 1; } if(str == "victim"){ if(!present("victim")){ tell_object(TP,"What victim?"); return 1; } tell_object(TP,"%^BOLD%^You start to work at the chains "+ "restraining the victim.\n%^RESET%^"); tell_room(ETP,"%^BOLD%^"+TPQCN+" starts working on the "+ "chains that are restraining the victim.\n%^RESET%^",TP); switch(FLAG){ case (0): command("say %^RED%^leave it be Urgoth sez!"); tell_object(TP,"The chain loosens a bit, maybe you need to try again."); FLAG = 1; break; case (1): command("say %^RED%^Wot Urgoth sed, not tellin' you no more!%^RESET%^"); tell_object(TP,"Urgoth moves towards you and you can "+ "feel the chain loosen a bit more."); tell_room(ETP,"The victim cringes at the sound of Urgoth's bellow."); FLAG = 2; break; case (2): command("say %^BOLD%^%^RED%^DAT'S IT, NOW URGOTH MAD!!%^RESET%^"); tell_object(TP,"You have almost freed the victim."); call_out("killem",0,TP); FLAG = 3; break; case (3): tell_object(TP,"%^BOLD%^Urgoth will not allow near the victim!%^RESET%^"); break; } } return 1; } void faith_ck(object targ){ string pgod = targ->query_diety(); if(avatarp(targ) || !interactive(targ)) return; if(pgod == "loviatar"){ if(targ->query_invis())return; if(FLAG1 == 0){ command("say %^BOLD%^%^RED%^Loviatar%^RESET%^, her whip "+ "be's mighty, lash bring much anguish!"); if(targ->is_class("cleric")){ command("protect "+targ->query_name()+""); command("protect "+targ->query_name()+""); command("whisper "+targ->query_name()+" Urgoth watch yer back, have fun eh?"); command("protect "+targ->query_name()+""); command("protect "+targ->query_name()+""); } FLAG1 = 1; } return; } if(targ->query_invis()){ call_out("iseeu",0,targ); return; } } int do_check(){ int i; object *people, *list, person; people = ({}); list = ({}); if(!objectp(TO)) return 1; if(!objectp(ETO)) return 1; if(TO->query_current_attacker()) return 1; people = all_living(environment(this_object())); for(i=0;i<sizeof(people);i++){ if(!((people[i] == TO) || (avatarp(people[i]))))list += ({people[i]}); } if(!list || !sizeof(list)) return 2; person = list[random(sizeof(list))]; if(!present(person, ETO)) return 1; if(person->query_unconscious())return 1; if(person->query_bound())return 1; faith_ck(person); return 1; } void heart_beat() { ::heart_beat(); if (!objectp(TO)) return; if (!objectp(ETO)) return; if(present("kit",TO) && query_hp() < ((query_max_hp()/3)*2)){ command("open kit"); command("quaff kit"); command("offer bottle"); command("quaff kit"); command("offer bottle"); command("quaff kit"); command("offer bottle"); command("quaff kit"); command("offer bottle"); command("quaff kit"); command("offer bottle"); command("quaff kit"); command("offer bottle"); command("quaff kit"); command("offer bottle"); command("quaff kit"); command("offer bottle"); } if(present("bottle",TO)) command("offer bottle"); timer1++; if(timer1 > 30){ timer1 = 0; if(query_attackers() != ({})){ do_check(); } return; } if (FLAG1 == 0 && FLAG == 0)return; timer++; if(timer > 60){ timer = 0; if(query_attackers() != ({})){ FLAG = 0; FLAG1 = 0; } return; } }
30.542662
89
0.618058
c7e4634788b596714ea41ac53c6355eb29eadd4e
2,179
java
Java
src/me/buhlmann/isoengine/ui/text/TrueTypeFont.java
SomeDudeOnThisPage/isoengine
2dd3e75e39ec042a0f8590e2557224152436d802
[ "WTFPL" ]
null
null
null
src/me/buhlmann/isoengine/ui/text/TrueTypeFont.java
SomeDudeOnThisPage/isoengine
2dd3e75e39ec042a0f8590e2557224152436d802
[ "WTFPL" ]
null
null
null
src/me/buhlmann/isoengine/ui/text/TrueTypeFont.java
SomeDudeOnThisPage/isoengine
2dd3e75e39ec042a0f8590e2557224152436d802
[ "WTFPL" ]
null
null
null
package me.buhlmann.isoengine.ui.text; import me.buhlmann.isoengine.gfx.texture.TextureAtlas; import me.buhlmann.isoengine.gfx.util.GFXUtil; import me.buhlmann.isoengine.gfx.util.InstancedRenderingVertexArray; import org.joml.Vector2f; import java.io.IOException; import java.nio.ByteBuffer; import static org.lwjgl.opengl.GL11.GL_LINEAR; public class TrueTypeFont { private static float BMP_FONT_SCALE = 42; private TextureAtlas texture; private InstancedRenderingVertexArray vao; private float[] offsets = new float[256]; private float scale; private float fontBias = 10; private float[] positions; private float[] texcoords; public void generateMesh(String text, float x, float y, InstancedRenderingVertexArray vao) { int current; Vector2f texcoord; positions = new float[text.length() * 3]; int cp = 0; texcoords = new float[text.length() * 2]; int ct = 0; int pos = 0; for (int i = 0; i < text.length(); i++) { current = text.charAt(i); positions[cp] = x + pos; positions[cp + 1] = y; positions[cp + 2] = 0; texcoord = texture.getTextureCoordinates(current); texcoords[ct] = texcoord.x; texcoords[ct + 1] = texcoord.y; cp += 3; ct += 2; if (i < text.length() - 1) { pos += offsets[current] * scale / 2 / BMP_FONT_SCALE; } } vao.setAmount(cp / 3); vao.updateInstancedAttributeData(2, positions); vao.updateInstancedAttributeData(3, texcoords); } public float getScale() { return scale; } public void bind() { texture.bind(); } public void unbind() { texture.unbind(); } public TrueTypeFont(String name, int scale) { this.scale = scale * 2; // Load font texture texture = new TextureAtlas("resources/fonts/" + name + ".png", 16, 16, GL_LINEAR, true); // Load font metrics ByteBuffer buffer; try { buffer = GFXUtil.ioLoadResource("resources/fonts/" + name + ".dat"); for (int i = 0; i < 256; i++) { offsets[i] = buffer.get(i); } } catch (IOException e) { e.printStackTrace(); } } }
20.951923
92
0.627811
e517bdc49bb720bd510df9c5770f2a6d3856daac
191
ts
TypeScript
src/app/config/index.ts
sparshpstpl/AngularAssessment
0af9f72edc364e7c070866ba1a4a2117afb13b16
[ "MIT" ]
null
null
null
src/app/config/index.ts
sparshpstpl/AngularAssessment
0af9f72edc364e7c070866ba1a4a2117afb13b16
[ "MIT" ]
null
null
null
src/app/config/index.ts
sparshpstpl/AngularAssessment
0af9f72edc364e7c070866ba1a4a2117afb13b16
[ "MIT" ]
null
null
null
export const Endpoints = { login: 'login', register: 'register', userassessments: 'userassessments', userassessmentGraph: 'userassessment/graph', users: 'users', };
23.875
48
0.649215
26a750f97e1f311e49152d6886b0aa6086b1147b
2,291
java
Java
Sunno-Android-Client/app/src/main/java/com/sunno/Main/ui/Fragment/Album/AlbumResponseFragment.java
safeer2978/sunno
724e3051870665bd4ad8c5c9a9ff67b1636bd8ca
[ "Unlicense" ]
1
2022-03-03T10:37:26.000Z
2022-03-03T10:37:26.000Z
Sunno-Android-Client/app/src/main/java/com/sunno/Main/ui/Fragment/Album/AlbumResponseFragment.java
safeer2978/sunno
724e3051870665bd4ad8c5c9a9ff67b1636bd8ca
[ "Unlicense" ]
null
null
null
Sunno-Android-Client/app/src/main/java/com/sunno/Main/ui/Fragment/Album/AlbumResponseFragment.java
safeer2978/sunno
724e3051870665bd4ad8c5c9a9ff67b1636bd8ca
[ "Unlicense" ]
null
null
null
package com.sunno.Main.ui.Fragment.Album; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.lifecycle.ViewModelProvider; import androidx.lifecycle.ViewModelProviders; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import com.squareup.picasso.Picasso; import com.sunno.Main.AddTrackInterface; import com.sunno.R; public class AlbumResponseFragment extends Fragment { ImageView imageView; RecyclerView recyclerView; ViewModel viewModel; int albumId; AddTrackInterface addTrackInterface; public AlbumResponseFragment(int albumId, AddTrackInterface addTrackInterface) { this.albumId = albumId; this.addTrackInterface = addTrackInterface; } @Nullable @Override public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { return inflater.inflate(R.layout.fragment_album_response,container,false); } @Override public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); recyclerView = view.findViewById(R.id.far_rv); imageView = view.findViewById(R.id.far_imageView); viewModel = ViewModelProviders.of(this).get(ViewModel.class); viewModel.setAddTrackInterface(addTrackInterface); viewModel.setAlbum(albumId); String url = viewModel.getUrl(); if(url.length()!=0){ Picasso.get() .load(url) .resize(300,300) .into(imageView); } else{ Picasso.get() .load("https://i.imgur.com/nszu54A.jpg") .resize(300,300) .into(imageView); } Adapter adapter = new Adapter(viewModel.getTracks(), viewModel.getAddTrackInterface()); recyclerView.setAdapter(adapter); recyclerView.setLayoutManager(new LinearLayoutManager(getContext())); } }
31.383562
132
0.699694
fcf9bf00a3fe7834fade55b7dfc5d87812ea4dfe
601
css
CSS
src/components/App/GizmoTranslateOffset.css
seleb/boxboxhtml
a66f2e1c337a18a6a9250ad7795a7e350696c146
[ "MIT" ]
1
2019-01-13T13:33:20.000Z
2019-01-13T13:33:20.000Z
src/components/App/GizmoTranslateOffset.css
seleb/boxboxhtml
a66f2e1c337a18a6a9250ad7795a7e350696c146
[ "MIT" ]
null
null
null
src/components/App/GizmoTranslateOffset.css
seleb/boxboxhtml
a66f2e1c337a18a6a9250ad7795a7e350696c146
[ "MIT" ]
null
null
null
.gizmo-translate-offset .gizmo-offset { position: absolute; bottom: 50%; left: 50%; opacity: 0.75; pointer-events: initial; cursor: move; } .gizmo-translate-offset .left.right.top.bottom { width: 35px; height: 35px; background: cyan; border-bottom: solid 5px red; border-left: solid 5px green; } .gizmo-translate-offset .left.right { width: 50px; height: 5px; background: red; } .gizmo-translate-offset .top.bottom { width: 5px; height: 50px; background: green; } .gizmo-translate-offset .gizmo-offset:hover, .gizmo-translate-offset .gizmo.selected .gizmo-offset { opacity: 1; }
17.676471
55
0.712146
e78006120b490df936bc9f3aa06e9b531388904b
701
js
JavaScript
httpdocs/assets/js/src/main.js
WsCandy/Floppy
84c59987a789a822f3b80fcd978d1a8c98396874
[ "MIT" ]
null
null
null
httpdocs/assets/js/src/main.js
WsCandy/Floppy
84c59987a789a822f3b80fcd978d1a8c98396874
[ "MIT" ]
null
null
null
httpdocs/assets/js/src/main.js
WsCandy/Floppy
84c59987a789a822f3b80fcd978d1a8c98396874
[ "MIT" ]
null
null
null
window.propFuncs = { isVisible__ready: function() { this.init = function(element, tolerance) { if(!element || 1 !== element.nodeType) { return false; } tolerance = tolerance || 0; var html = document.documentElement, r = element.getBoundingClientRect(), h = html.clientHeight, w = html.clientWidth; if(!!r && (r.bottom - tolerance) >= 0 && r.right >= 0 && (r.top - tolerance) <= h && r.left <= w) { return true; } }; } };
23.366667
111
0.392297
0cec7a7b14ee446e6efc190805ad0c86fcf9567d
2,565
py
Python
test/python/transpiler/test_transpile.py
filemaster/qiskit-terra
8672c407a5a0e34405315f82d5ad5847916e857e
[ "Apache-2.0" ]
null
null
null
test/python/transpiler/test_transpile.py
filemaster/qiskit-terra
8672c407a5a0e34405315f82d5ad5847916e857e
[ "Apache-2.0" ]
null
null
null
test/python/transpiler/test_transpile.py
filemaster/qiskit-terra
8672c407a5a0e34405315f82d5ad5847916e857e
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2018, IBM. # # This source code is licensed under the Apache License, Version 2.0 found in # the LICENSE.txt file in the root directory of this source tree. # pylint: disable=redefined-builtin """Tests basic functionality of the transpile function""" from qiskit import QuantumRegister, QuantumCircuit from qiskit import compile, BasicAer from qiskit.transpiler import PassManager, transpile_dag, transpile from qiskit.tools.compiler import circuits_to_qobj from qiskit.converters import circuit_to_dag from ..common import QiskitTestCase class TestTranspile(QiskitTestCase): """Test transpile function.""" def test_pass_manager_empty(self): """Test passing an empty PassManager() to the transpiler. It should perform no transformations on the circuit. """ qr = QuantumRegister(2) circuit = QuantumCircuit(qr) circuit.h(qr[0]) circuit.h(qr[0]) circuit.cx(qr[0], qr[1]) circuit.cx(qr[0], qr[1]) circuit.cx(qr[0], qr[1]) circuit.cx(qr[0], qr[1]) dag_circuit = circuit_to_dag(circuit) resources_before = dag_circuit.count_ops() pass_manager = PassManager() dag_circuit = transpile_dag(dag_circuit, pass_manager=pass_manager) resources_after = dag_circuit.count_ops() self.assertDictEqual(resources_before, resources_after) def test_pass_manager_none(self): """Test passing the default (None) pass manager to the transpiler. It should perform the default qiskit flow: unroll, swap_mapper, cx_direction, cx_cancellation, optimize_1q_gates and should be equivalent to using tools.compile """ qr = QuantumRegister(2, 'qr') circuit = QuantumCircuit(qr) circuit.h(qr[0]) circuit.h(qr[0]) circuit.cx(qr[0], qr[1]) circuit.cx(qr[0], qr[1]) circuit.cx(qr[0], qr[1]) circuit.cx(qr[0], qr[1]) coupling_map = [[1, 0]] basis_gates = 'u1,u2,u3,cx,id' backend = BasicAer.get_backend('qasm_simulator') circuit2 = transpile(circuit, backend, coupling_map=coupling_map, basis_gates=basis_gates, pass_manager=None) qobj = compile(circuit, backend=backend, coupling_map=coupling_map, basis_gates=basis_gates) qobj2 = circuits_to_qobj(circuit2, backend.name(), basis_gates=basis_gates, coupling_map=coupling_map, qobj_id=qobj.qobj_id) self.assertEqual(qobj, qobj2)
34.2
100
0.665107
ff51085f58c226a60a507a0f80eceb824c3c0590
452
sql
SQL
tests/queries/0_stateless/01548_uncomparable_columns_in_keys.sql
pdv-ru/ClickHouse
0ff975bcf3008fa6c6373cbdfed16328e3863ec5
[ "Apache-2.0" ]
15,577
2019-09-23T11:57:53.000Z
2022-03-31T18:21:48.000Z
tests/queries/0_stateless/01548_uncomparable_columns_in_keys.sql
pdv-ru/ClickHouse
0ff975bcf3008fa6c6373cbdfed16328e3863ec5
[ "Apache-2.0" ]
16,476
2019-09-23T11:47:00.000Z
2022-03-31T23:06:01.000Z
tests/queries/0_stateless/01548_uncomparable_columns_in_keys.sql
pdv-ru/ClickHouse
0ff975bcf3008fa6c6373cbdfed16328e3863ec5
[ "Apache-2.0" ]
3,633
2019-09-23T12:18:28.000Z
2022-03-31T15:55:48.000Z
DROP TABLE IF EXISTS uncomparable_keys; CREATE TABLE foo (id UInt64, key AggregateFunction(max, UInt64)) ENGINE MergeTree ORDER BY key; --{serverError 549} CREATE TABLE foo (id UInt64, key AggregateFunction(max, UInt64)) ENGINE MergeTree PARTITION BY key; --{serverError 549} CREATE TABLE foo (id UInt64, key AggregateFunction(max, UInt64)) ENGINE MergeTree ORDER BY (key) SAMPLE BY key; --{serverError 549} DROP TABLE IF EXISTS uncomparable_keys;
45.2
131
0.780973
859a455846966e8f8b7db4a095d8673b195b4ae5
568
js
JavaScript
test.js
sjlevine/swank-client-js
e5c82f459d278fb97c085547755139f701afdbd5
[ "MIT" ]
16
2015-09-11T04:36:12.000Z
2020-02-11T12:55:39.000Z
test.js
sjlevine/swank-client-js
e5c82f459d278fb97c085547755139f701afdbd5
[ "MIT" ]
4
2016-07-25T20:21:28.000Z
2018-07-06T02:52:33.000Z
test.js
neil-lindquist/swank-client
8d4355ab1fb55b5d15c4c0497a91860b3b87fb05
[ "MIT" ]
6
2016-06-29T10:41:22.000Z
2018-07-22T16:16:30.000Z
var Swank = require('./lib/client.js'); var sc = new Swank.Client("localhost", 4005); sc.on('disconnect', function() { console.log("Disconnected!") }) sc.connect("localhost", 4005) .then(function() { console.log("Connected!!"); return sc.initialize();}) .then(function() { console.log("Autodoc"); // return sc.autodoc("(+ 1 2)", "COMMON-LISP-USER", 2);}) return sc.autocomplete("loa", "COMMON-LISP-USER");}) .then(function(result) { console.log("Got response: " + result);}); // return sc.rex("(SWANK:CONNECTION-INFO)", "COMMON-LISP-USER", "T")})
23.666667
70
0.635563
041d6889890d7273fe499d15e86cc595325def51
15,051
js
JavaScript
public/js/audio/nwffacim/2006/092306.js
Christ-Mind-Teachings/cmi-original
4397a750b7d9ec7e234f091d3acbaae73b40e9ad
[ "MIT" ]
null
null
null
public/js/audio/nwffacim/2006/092306.js
Christ-Mind-Teachings/cmi-original
4397a750b7d9ec7e234f091d3acbaae73b40e9ad
[ "MIT" ]
null
null
null
public/js/audio/nwffacim/2006/092306.js
Christ-Mind-Teachings/cmi-original
4397a750b7d9ec7e234f091d3acbaae73b40e9ad
[ "MIT" ]
null
null
null
var cmiAudioTimingData = { "base": "/nwffacim/2006/092306/", "title": "Sep 23, 2006 T12.4 The Two Emotions", "time": [{ "id": "p0", "seconds": 0 }, { "id": "p1", "seconds": 10.979425472 }, { "id": "p2", "seconds": 36.106335865 }, { "id": "p3", "seconds": 51.174106138 }, { "id": "p4", "seconds": 83.561386348 }, { "id": "p5", "seconds": 94.361689183 }, { "id": "p6", "seconds": 200.826197754 }, { "id": "p7", "seconds": 213.631840431 }, { "id": "p8", "seconds": 349.978476213 }, { "id": "p9", "seconds": 415.522078822 }, { "id": "p10", "seconds": 481.802908916 }, { "id": "p11", "seconds": 497.879830207 }, { "id": "p12", "seconds": 501.142388204 }, { "id": "p13", "seconds": 503.401463261 }, { "id": "p14", "seconds": 507.923886247 }, { "id": "p15", "seconds": 538.053462736 }, { "id": "p16", "seconds": 550.103597868 }, { "id": "p17", "seconds": 556.633944779 }, { "id": "p18", "seconds": 572.955231466 }, { "id": "p19", "seconds": 604.342053196 }, { "id": "p20", "seconds": 675.647920848 }, { "id": "p21", "seconds": 680.419140522 }, { "id": "p22", "seconds": 681.424085964 }, { "id": "p23", "seconds": 683.684804106 }, { "id": "p24", "seconds": 691.213176756 }, { "id": "p25", "seconds": 694.229919436 }, { "id": "p26", "seconds": 695.233119017 }, { "id": "p27", "seconds": 700.502433922 }, { "id": "p28", "seconds": 746.459431155 }, { "id": "p29", "seconds": 803.710458819 }, { "id": "p30", "seconds": 817.272092709 }, { "id": "p31", "seconds": 867.241023711 }, { "id": "p32", "seconds": 870.505084877 }, { "id": "p33", "seconds": 880.295776571 }, { "id": "p34", "seconds": 984.491591349 }, { "id": "p35", "seconds": 991.278148399 }, { "id": "p36", "seconds": 994.542192341 }, { "id": "p37", "seconds": 1002.070349403 }, { "id": "p38", "seconds": 1026.175522325 }, { "id": "p39", "seconds": 1036.720472694 }, { "id": "p40", "seconds": 1077.901036316 }, { "id": "p41", "seconds": 1134.148396406 }, { "id": "p42", "seconds": 1207.010107071 }, { "id": "p43", "seconds": 1259.739380366 }, { "id": "p44", "seconds": 1280.08202352 }, { "id": "p45", "seconds": 1309.458542578 }, { "id": "p46", "seconds": 1319.7539062 }, { "id": "p47", "seconds": 1363.945897594 }, { "id": "p48", "seconds": 1387.548267041 }, { "id": "p49", "seconds": 1450.31960967 }, { "id": "p50", "seconds": 1494.266341765 }, { "id": "p51", "seconds": 1555.283293394 }, { "id": "p52", "seconds": 1613.03512913 }, { "id": "p53", "seconds": 1639.147883082 }, { "id": "p54", "seconds": 1722.503956483 }, { "id": "p55", "seconds": 1732.044420412 }, { "id": "p56", "seconds": 1765.191921003 }, { "id": "p57", "seconds": 1768.456374937 }, { "id": "p58", "seconds": 1792.807612575 }, { "id": "p59", "seconds": 1819.683660115 }, { "id": "p60", "seconds": 1824.203994138 }, { "id": "p61", "seconds": 1834.497417573 }, { "id": "p62", "seconds": 1885.970898155 }, { "id": "p63", "seconds": 1894.507060135 }, { "id": "p64", "seconds": 1913.846905173 }, { "id": "p65", "seconds": 1920.379244008 }, { "id": "p66", "seconds": 1921.132675972 }, { "id": "p67", "seconds": 1926.658272177 }, { "id": "p68", "seconds": 1933.183193269 }, { "id": "p69", "seconds": 1947.241926358 }, { "id": "p70", "seconds": 1967.083525791 }, { "id": "p71", "seconds": 1981.395018062 }, { "id": "p72", "seconds": 1988.927567296 }, { "id": "p73", "seconds": 2042.405254767 }, { "id": "p74", "seconds": 2085.597489941 }, { "id": "p75", "seconds": 2102.418340601 }, { "id": "p76", "seconds": 2111.46150431 }, { "id": "p77", "seconds": 2124.516945609 }, { "id": "p78", "seconds": 2160.165796745 }, { "id": "p79", "seconds": 2173.725653504 }, { "id": "p80", "seconds": 2180.25420065 }, { "id": "p81", "seconds": 2181.259208451 }, { "id": "p82", "seconds": 2184.272460665 }, { "id": "p83", "seconds": 2185.528379316 }, { "id": "p84", "seconds": 2195.322040673 }, { "id": "p85", "seconds": 2199.088303731 }, { "id": "p87", "seconds": 2207.328516541 }, { "id": "p88", "seconds": 2222.891118003 }, { "id": "p89", "seconds": 2257.117215744 }, { "id": "p90", "seconds": 2270.679165432 }, { "id": "p91", "seconds": 2337.875544183 }, { "id": "p92", "seconds": 2351.681919218 }, { "id": "p93", "seconds": 2366.255161215 }, { "id": "p94", "seconds": 2375.548546115 }, { "id": "p95", "seconds": 2410.95581639 }, { "id": "p96", "seconds": 2422.004166422 }, { "id": "p97", "seconds": 2426.020918938 }, { "id": "p98", "seconds": 2434.304402564 }, { "id": "p99", "seconds": 2448.123160187 }, { "id": "p100", "seconds": 2450.383375397 }, { "id": "p101", "seconds": 2468.215862343 }, { "id": "p102", "seconds": 2480.76842576 }, { "id": "p103", "seconds": 2495.084678124 }, { "id": "p104", "seconds": 2548.818331694 }, { "id": "p105", "seconds": 2570.16285364 }, { "id": "p106", "seconds": 2619.130678914 }, { "id": "p107", "seconds": 2643.739327735 }, { "id": "p108", "seconds": 2660.8147145 }, { "id": "p109", "seconds": 2666.341174762 }, { "id": "p110", "seconds": 2669.858001793 }, { "id": "p111", "seconds": 2671.866790946 }, { "id": "p112", "seconds": 2696.481052391 }, { "id": "p113", "seconds": 2706.025864462 }, { "id": "p114", "seconds": 2717.328867521 }, { "id": "p115", "seconds": 2719.83812386 }, { "id": "p116", "seconds": 2729.377715575 }, { "id": "p117", "seconds": 2749.223665198 }, { "id": "p118", "seconds": 2755.755047639 }, { "id": "p119", "seconds": 2760.776237046 }, { "id": "p120", "seconds": 2768.563622384 }, { "id": "p121", "seconds": 2833.352877346 }, { "id": "p122", "seconds": 2845.399061912 }, { "id": "p123", "seconds": 2850.168916956 }, { "id": "p124", "seconds": 2865.994320954 }, { "id": "p125", "seconds": 2866.998680682 }, { "id": "p126", "seconds": 2871.270372249 }, { "id": "p127", "seconds": 2872.274747362 }, { "id": "p128", "seconds": 2873.533337273 }, { "id": "p129", "seconds": 2882.821292648 }, { "id": "p130", "seconds": 2884.83149089 }, { "id": "p131", "seconds": 2887.59440225 }, { "id": "p132", "seconds": 2896.382468989 }, { "id": "p133", "seconds": 2937.061436881 }, { "id": "p134", "seconds": 2977.738599604 }, { "id": "p135", "seconds": 2988.536513038 }, { "id": "p136", "seconds": 2991.052304693 }, { "id": "p137", "seconds": 3015.910346438 }, { "id": "p138", "seconds": 3038.767335847 }, { "id": "p139", "seconds": 3047.554605712 }, { "id": "p140", "seconds": 3050.067093144 }, { "id": "p141", "seconds": 3051.321848406 }, { "id": "p142", "seconds": 3053.079354824 }, { "id": "p143", "seconds": 3057.354236722 }, { "id": "p144", "seconds": 3059.363448343 }, { "id": "p145", "seconds": 3069.658797819 }, { "id": "p146", "seconds": 3082.209072904 }, { "id": "p147", "seconds": 3120.380232943 }, { "id": "p148", "seconds": 3139.963501236 }, { "id": "p149", "seconds": 3177.880404521 }, { "id": "p150", "seconds": 3218.058853684 }, { "id": "p151", "seconds": 3226.849733706 }, { "id": "p152", "seconds": 3229.360923953 }, { "id": "p153", "seconds": 3235.137621918 }, { "id": "p154", "seconds": 3239.406820282 }, { "id": "p155", "seconds": 3241.165108835 }, { "id": "p156", "seconds": 3284.855208906 }, { "id": "p157", "seconds": 3299.670559963 }, { "id": "p158", "seconds": 3309.963994696 }, { "id": "p159", "seconds": 3345.370628024 }, { "id": "p160", "seconds": 3358.932381039 }, { "id": "p161", "seconds": 3388.064969863 }, { "id": "p162", "seconds": 3395.5994776 }, { "id": "p163", "seconds": 3412.423115503 }, { "id": "p164", "seconds": 3422.973356534 }, { "id": "p165", "seconds": 3434.286875213 }, { "id": "p166", "seconds": 3437.549161281 }, { "id": "p167", "seconds": 3438.552856567 }, { "id": "p168", "seconds": 3440.059546108 }, { "id": "p169", "seconds": 3484.608107329 }, { "id": "p170", "seconds": 3506.206977293 }, { "id": "p171", "seconds": 3515.659473174 }, { "id": "p172", "seconds": 3519.423463954 }, { "id": "p173", "seconds": 3523.190415001 }, { "id": "p174", "seconds": 3526.205758028 }, { "id": "p175", "seconds": 3537.253357883 }, { "id": "p176", "seconds": 3562.861156519 }, { "id": "p177", "seconds": 3578.680469169 }, { "id": "p178", "seconds": 3581.695065316 }, { "id": "p179", "seconds": 3600.275911278 }, { "id": "p180", "seconds": 3636.178483881 }, { "id": "p181", "seconds": 3640.194928144 }, { "id": "p182", "seconds": 3644.211293717 }, { "id": "p183", "seconds": 3659.027686406 }, { "id": "p184", "seconds": 3665.808093411 }, { "id": "p185", "seconds": 3700.707678643 }, { "id": "p186", "seconds": 3718.037248748 }, { "id": "p187", "seconds": 3720.800846616 }, { "id": "p188", "seconds": 3726.828256968 }, { "id": "p189", "seconds": 3730.845333877 }, { "id": "p190", "seconds": 3732.603521707 }, { "id": "p191", "seconds": 3749.678345003 }, { "id": "p192", "seconds": 3759.21733106 }, { "id": "p193", "seconds": 3761.477871987 }, { "id": "p194", "seconds": 3768.509892277 }, { "id": "p195", "seconds": 3787.589776185 }, { "id": "p196", "seconds": 3798.135364212 }, { "id": "p197", "seconds": 3826.005507072 }, { "id": "p198", "seconds": 3939.254442693 }, { "id": "p199", "seconds": 3952.063598186 }, { "id": "p200", "seconds": 3955.328764319 }, { "id": "p201", "seconds": 3982.694924817 }, { "id": "p202", "seconds": 3986.462728311 }, { "id": "p203", "seconds": 3990.731496136 }, { "id": "p204", "seconds": 4008.556958734 }, { "id": "p205", "seconds": 4016.844695766 }, { "id": "p206", "seconds": 4017.346897825 }, { "id": "p207", "seconds": 4018.603318686 }, { "id": "p208", "seconds": 4019.356940083 }, { "id": "p209", "seconds": 4037.68561695 }, { "id": "p210", "seconds": 4046.957570756 }, { "id": "p211", "seconds": 4051.727790949 }, { "id": "p212", "seconds": 4052.983438049 }, { "id": "p213", "seconds": 4054.240719641 }, { "id": "p214", "seconds": 4055.746307052 }, { "id": "p215", "seconds": 4060.766468691 }, { "id": "p216", "seconds": 4064.030451837 }, { "id": "p217", "seconds": 4088.887528041 }, { "id": "p218", "seconds": 4114.000924081 }, { "id": "p219", "seconds": 4168.743246798 }, { "id": "p220", "seconds": 4175.272419592 }, { "id": "p221", "seconds": 4201.887671077 }, { "id": "p222", "seconds": 4202.389504994 }] };
22.397321
52
0.376719
9681609d96bb53fc86882639125c93383de5ba4c
1,279
php
PHP
tests/Model/ExpectedDispatchedEventCollection.php
webignition/basil-worker
8d42fb0f3978df0f2e37fb62d1351dcd6e722234
[ "MIT" ]
null
null
null
tests/Model/ExpectedDispatchedEventCollection.php
webignition/basil-worker
8d42fb0f3978df0f2e37fb62d1351dcd6e722234
[ "MIT" ]
567
2020-09-15T09:21:07.000Z
2021-06-24T09:31:26.000Z
tests/Model/ExpectedDispatchedEventCollection.php
webignition/basil-worker-web
f0d773070bb9337f345292adefda270c826ae8f1
[ "MIT" ]
null
null
null
<?php declare(strict_types=1); namespace App\Tests\Model; /** * @implements \ArrayAccess<int, ExpectedDispatchedEvent> */ class ExpectedDispatchedEventCollection implements \ArrayAccess { /** * @var ExpectedDispatchedEvent[] */ private array $expectedDispatchedEvents; /** * @param array<mixed> $expectedDispatchedEvents */ public function __construct(array $expectedDispatchedEvents) { $this->expectedDispatchedEvents = array_filter($expectedDispatchedEvents, function ($item): bool { return $item instanceof ExpectedDispatchedEvent; }); } public function offsetExists($offset): bool { return null !== $this->offsetGet($offset); } public function offsetGet($offset): ?ExpectedDispatchedEvent { return $this->expectedDispatchedEvents[$offset] ?? null; } public function offsetSet($offset, $value): void { if (false === is_int($offset)) { return; } if (!$value instanceof ExpectedDispatchedEvent) { return; } $this->expectedDispatchedEvents[$offset] = $value; } public function offsetUnset($offset): void { unset($this->expectedDispatchedEvents[$offset]); } }
23.254545
106
0.634871
969375d83840d6063cecc51cd02a922b99dc16a1
4,602
html
HTML
test.html
belowthetree/WWW
aa02fb6e024a5a3c8eb48c52c6f295fee538a9b4
[ "MIT" ]
null
null
null
test.html
belowthetree/WWW
aa02fb6e024a5a3c8eb48c52c6f295fee538a9b4
[ "MIT" ]
null
null
null
test.html
belowthetree/WWW
aa02fb6e024a5a3c8eb48c52c6f295fee538a9b4
[ "MIT" ]
null
null
null
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>c语言</title> <link rel="stylesheet" href="../bootstrap-4.3.1-dist/bootstrap-4.3.1-dist/css/bootstrap.min.css" /> <link rel="stylesheet" type="text/css" href="../bootstrap-4.3.1-dist/bootstrap-4.3.1-dist/css/bootstrap-grid.css" /> <script src="../bootstrap-4.3.1-dist/proper.js"></script> <script src="../bootstrap-4.3.1-dist/bootstrap-4.3.1-dist/jquery-3.3.1/jquery-3.3.1.min.js"></script> <script src="../bootstrap-4.3.1-dist/bootstrap-4.3.1-dist/js/bootstrap.js"></script> <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script> <!--引入样式文件--> <link rel="stylesheet" href="./mdeditor/examples/css/style.css" /> <link rel="stylesheet" href="./mdeditor/css/editormd.css" /> </head> <body> <div class="row"> <div class="col-2 bg-light"> <ul class="navbar-nav text-sm-center"style="font-size: 25px;"> <li class="nav-item text-primary"style="font-size: 35px;padding:25px;">目录</li> <li class="nav-item text-primary"><a class="nav-link" href ="#zhishidian">知识点1</a></li> <li class="nav-item text-primary"><a class="nav-link" href ="#zhishidian">知识点2</a></li> <li class="nav-item text-primary"><a class="nav-link" href ="#zhishidian">知识点3</a></li> <li class="nav-item text-primary"><a class="nav-link" href ="#zhishidian">最后实验</a></li> </ul> </div> <div class="col-9 container" style="height: 2000px;"> <button id='bt'>点击就送</button> <div id='txt' class="editormd-preview-container" style="padding: 20px;"></div> <ul id="tabcontent" class="nav navbar nav-tabs justify-content-center" role="tablist"> <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#menu1">awefa</a> </li> </ul> <script> </script> <div id='idx'></div> <div id="test-editormd" name="post[post_content]"> <textarea name="post[post_content]"></textarea> </div> <script src="./mdeditor/examples/js/jquery.min.js"></script> <script src="./mdeditor/editormd.js"></script> <script> $(function() { $.get('./mdeditor/examples/test.md', function(md){ testEditor = editormd("test-editormd", { width: "90%", height: 740, path : './mdeditor/lib/', theme : "dark", previewTheme : "dark", editorTheme : "pastel-on-dark", markdown : md, codeFold : true, //syncScrolling : false, saveHTMLToTextarea : true, // 保存 HTML 到 Textarea searchReplace : true, //watch : false, // 关闭实时预览 htmlDecode : "style,script,iframe|on*", // 开启 HTML 标签解析,为了安全性,默认不开启 //toolbar : false, //关闭工具栏 //previewCodeHighlight : false, // 关闭预览 HTML 的代码块高亮,默认开启 emoji : true, taskList : true, tocm : true, // Using [TOCM] tex : true, // 开启科学公式TeX语言支持,默认关闭 flowChart : true, // 开启流程图支持,默认关闭 sequenceDiagram : true, // 开启时序/序列图支持,默认关闭, //dialogLockScreen : false, // 设置弹出层对话框不锁屏,全局通用,默认为true //dialogShowMask : false, // 设置弹出层对话框显示透明遮罩层,全局通用,默认为true //dialogDraggable : false, // 设置弹出层对话框不可拖动,全局通用,默认为true //dialogMaskOpacity : 0.4, // 设置透明遮罩层的透明度,全局通用,默认值为0.1 //dialogMaskBgColor : "#000", // 设置透明遮罩层的背景颜色,全局通用,默认为#fff imageUpload : true, imageFormats : ["jpg", "jpeg", "gif", "png", "bmp", "webp"], imageUploadURL : "./php/upload.php" }); }); $("#bt").bind('click', function() { $("#txt").html(testEditor.getPreviewedHTML()); }); }); </script> </div> </div> </body> </html>
52.896552
124
0.472186
a17f7170177562ceffb919eb286ae3529c9a4dfc
464
h
C
YubiKit/YubiKit/Connections/Shared/Errors/YKFManagementError.h
boxatom/yubikit-ios
b0b1b0a39c8c06512e87555e679d7c71b7b46da3
[ "Apache-2.0" ]
1
2021-06-19T05:39:43.000Z
2021-06-19T05:39:43.000Z
YubiKit/YubiKit/Connections/Shared/Errors/YKFManagementError.h
boxatom/yubikit-ios
b0b1b0a39c8c06512e87555e679d7c71b7b46da3
[ "Apache-2.0" ]
null
null
null
YubiKit/YubiKit/Connections/Shared/Errors/YKFManagementError.h
boxatom/yubikit-ios
b0b1b0a39c8c06512e87555e679d7c71b7b46da3
[ "Apache-2.0" ]
null
null
null
// // YKFManagementError.h // YubiKit // // Created by Irina Makhalova on 2/10/20. // Copyright © 2020 Yubico. All rights reserved. // #import <Foundation/Foundation.h> #import "YKFSessionError.h" NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSUInteger, YKFManagementErrorCode) { /*! Key returned malformed response */ YKFManagementErrorCodeUnexpectedResponse = 0x300, }; @interface YKFManagementError : YKFSessionError @end NS_ASSUME_NONNULL_END
19.333333
53
0.752155
27dddc3842db2620f99690f4bbc3bb37f7a9a4a7
3,964
css
CSS
css/navigation.css
viv-b/footprints-preschool
c256ecd4b874e70a4aa6151be6ab90eef868c809
[ "MIT" ]
null
null
null
css/navigation.css
viv-b/footprints-preschool
c256ecd4b874e70a4aa6151be6ab90eef868c809
[ "MIT" ]
null
null
null
css/navigation.css
viv-b/footprints-preschool
c256ecd4b874e70a4aa6151be6ab90eef868c809
[ "MIT" ]
null
null
null
.navigation-wrapper { display: none; } .toggle-container { background: #fff; } /* See button.css for rest of styling for this button */ #mobile-menu-toggle { cursor: pointer; } #mobile-logo { max-height: 60px; } .mobile-icon img { margin-bottom: 2rem; padding: 20px 60px 0 0; } .position-left.is-transition-push { box-shadow: inset 0 0 0 0 rgba(255,255,255,0); } .position-left { width: 350px; -ms-transform: translateX(-350px); transform: translateX(-350px); } .off-canvas-content.is-open-left.has-transition-push { -ms-transform: translateX(350px); transform: translateX(350px); } .off-canvas { background: #fff; } .off-canvas { padding: 40px; } .off-canvas .menu li a { font-size: 1.4rem; font-family: 'Yanone Kaffeesatz', sans-serif; font-family: 'Dosis', sans-serif; color: #111; text-transform: uppercase; line-height: 1.7; outline: none; } .off-canvas .menu li.active { /* border-top: solid 2px #111; border-bottom: solid 2px #111; */ } .off-canvas .menu li.active > a { color: #fff; background: #ff722d; border-radius: 10px; } .off-canvas .menu li:hover > a { color: #111; } .off-canvas .menu li.active:hover > a { color: #fff; } .off-canvas .close-button { z-index: 1000; padding: 3px 8px 3px 8px; font-size: 3rem; } /* 1024 pixels */ @media screen and (min-width: 64em) { .toggle-container { display: none; } #mobile-menu-toggle { display: none; } .navigation-wrapper { display: block; z-index: 1001; position: fixed; top: 0; width: 100%; padding: 10px 0; -moz-transition-duration: 0.5s; -o-transition-duration: 0.5s; -webkit-transition-duration: 0.5s; transition-duration: 0.5s; -webkit-flex-wrap: wrap; /* Safari 6.1+ */ -ms-flex-wrap: wrap; flex-wrap: wrap; background: #fff; border-bottom: solid 1px #ccc; } .navigation-wrapper.sticky-top { padding: 5px 0; } .sticky-top { position: fixed; top: 0; } .nav-logo { margin-right: 30px; height: 50px; -moz-transition-duration: 0.3s; -o-transition-duration: 0.3s; -webkit-transition-duration: 0.3s; transition-duration: 0.3s; } .shrink-nav-logo { margin-right: 25px; width: auto; height: 35px; } .navigation-wrapper .menu { justify-content: center; width: 100%; /* padding-top: 6px; */ } .navigation-wrapper li { display: flex; align-items: center; } .navigation-wrapper li a { font-size: 1.2rem; font-family: 'Yanone Kaffeesatz', sans-serif; font-family: 'Dosis', sans-serif; color: #111; text-transform: uppercase; line-height: 1.3; margin: 0 4px; } .navigation-wrapper li.active { /* border-top: solid 2px #111; border-bottom: solid 2px #111; */ } .navigation-wrapper li.active > a { color: #fff; background: #ff722d; border-radius: 10px; } .navigation-wrapper li:hover > a { color: #111; } .navigation-wrapper li.active:hover > a { color: #fff; } } /* 1200 pixels */ @media screen and (min-width: 75em) { .nav-logo { margin-right: 50px; height: 60px; } .shrink-nav-logo { margin-right: 40px; height: 40px; } .navigation-wrapper li a { font-size: 1.3rem; margin: 0 8px; } } /* XXLarge and up - min 1440px */ @media screen and (min-width: 90em) { .nav-logo { margin-right: 120px; height: 85px; } .shrink-nav-logo { margin-right: 90px; height: 60px; } .navigation-wrapper li a { font-size: 1.4rem; margin: 0 10px; } }
21.543478
56
0.556509
498bd09aa83c1ab40022021bc95c4010235e3e34
11,776
html
HTML
portfolio/src/main/webapp/index.html
Tochukwuibe/software-product-sprint
2794b0c49d35e027152bc35daba01f845b1724e1
[ "Apache-2.0" ]
null
null
null
portfolio/src/main/webapp/index.html
Tochukwuibe/software-product-sprint
2794b0c49d35e027152bc35daba01f845b1724e1
[ "Apache-2.0" ]
1
2020-03-02T01:04:36.000Z
2020-03-02T01:04:36.000Z
portfolio/src/main/webapp/index.html
Tochukwuibe/software-product-sprint
2794b0c49d35e027152bc35daba01f845b1724e1
[ "Apache-2.0" ]
null
null
null
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Toch's Portfolio</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> <link rel="stylesheet" href="style.css"> </head> <body> <nav class="navbar fixed-top navbar-expand-lg navbar-dark bg-dark"> <a class="navbar-brand" href="/index.html">Toch's Portfolio</a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarNavAltMarkup"> <div class="navbar-nav"> <a class="nav-item nav-link" href="#about">About</a> <a class="nav-item nav-link" href="#projects">Projects</a> <a class="nav-item nav-link" href="/map.html">Map</a> </div> </div> </nav> <section id="landing" class="section"> <div class="container"> <img src="/images/landing_pic.jpeg" alt="Tochukwu Ibe-Ekeocha"> <h1>Tochukwu Ibe-Ekeocha</h1> <h3>Software Developer, Entrepreneur, Tech Enthusiast</h3> <div id="chat-prompt"> <h5>Send me a message</h5> <a href="/comments.html" class="btn btn-light btn-lg">Chat</a> </div> </div> </section> <section id="about" class="section "> <div class="container"> <h1 class="section-title">About</h1> <div class="row flex-cads"> <div class="col"> <div class="card" style="width: 15rem;"> <div class="card-body card-content"> <h3 class="card-title">Personal</h3> <ion-icon class="icon" name="person"></ion-icon> <button id="personal-btn" onclick="personal_modal.style.display = 'flex'" type="button" class="btn btn-light">View</button> </div> </div> </div> <div class="col"> <div class="card" style="width: 15rem;"> <div class="card-body card-content"> <h3 class="card-title">Education</h3> <ion-icon class="icon" name="school"></ion-icon> <button type="button" onclick="education_modal.style.display = 'flex'" class="btn btn-light">View</button> </div> </div> </div> <div class="col"> <div class="card" style="width: 15rem;"> <div class="card-body card-content"> <h3 class="card-title">Skills</h3> <ion-icon class="icon" name="basketball"></ion-icon> <button type="button" onclick="skills_modal.style.display = 'flex'" class="btn btn-light">View</button> </div> </div> </div> <div class="col"> <div class="card" style="width: 15rem;"> <div class="card-body card-content"> <h3 class="card-title">Hobbies</h3> <ion-icon class="icon" name="hammer"></ion-icon> <button type="button" onclick="hobbies_modal.style.display = 'flex'" class="btn btn-light">View</button> </div> </div> </div> </div> <!-- Modal --> <div id="personal_modal" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <h3>Personal</h3> <span onclick="personal_modal.style.display = 'none'" class="close">&times;</span> </div> <p> Nigerian by birth, moved to the United States in 2010. I quickly became interested in being a sucessful entrepreneur, inspired by names like Bill Gates, Steve Jobs, etc.. I discovered the development side of the web during my junior year of High School, and have been dabbling in it ever since. </p> </div> </div> <!-- Modal --> <div id="education_modal" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <h3>Education</h3> <span onclick="education_modal.style.display = 'none'" class="close">&times;</span> </div> <p>Sophmore Computer Science student at the University of Maryland at College Park.</p> </div> </div> <!-- Modal --> <div id="skills_modal" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <h3>Skills</h3> <span onclick="skills_modal.style.display = 'none'" class="close">&times;</span> </div> <ul class="list-group"> <li class="list-group-item">Java</li> <li class="list-group-item">JavaScript</li> <li class="list-group-item">HTML</li> <li class="list-group-item">CSS</li> <li class="list-group-item">React.js</li> <li class="list-group-item">React Native</li> </ul> </div> </div> <!-- Modal --> <div id="hobbies_modal" class="modal"> <!-- Modal content --> <div class="modal-content"> <div class="modal-header"> <h3>Hobbies</h3> <span onclick="hobbies_modal.style.display = 'none'" class="close">&times;</span> </div> <ul class="list-group"> <li class="list-group-item">Chess.</li> <li class="list-group-item">Entrepreneurship.</li> </ul> </div> </div> </div> </section> <section id="projects" class="section bg-dark"> <h1 class="section-title">Projects</h1> <div class="container"> <div class="row flex-cads"> <div class="col"> <div class="card" style="width: 15rem;"> <img class="card-img-top" src="/images/skiffel_logo.png" alt="Card image cap"> <div class="card-body"> <h5 class="card-title">Skiffel (Android)</h5> <p class="card-text"> Android application for promoting and discovering social events. </p> <a href="https://play.google.com/store/apps/details?id=com.skffl.skiffel" target="_blank" class="btn btn-primary">View</a> </div> </div> </div> <div class="col"> <div class="card" style="width: 15rem;"> <img class="card-img-top" src="/images/skiffel_logo.png" alt="Card image cap"> <div class="card-body"> <h5 class="card-title">Skiffel (Ios)</h5> <p class="card-text"> Ios application for promoting and discovering social events. </p> <a href="https://apps.apple.com/bn/app/skiffel/id1475384987" target="_blank" class="btn btn-primary">View</a> </div> </div> </div> <div class="col"> <div class="card" style="width: 15rem;"> <img class="card-img-top" src="/images/skiffel_logo.png" alt="Card image cap"> <div class="card-body"> <h5 class="card-title">Skiffel (web)</h5> <p class="card-text"> website to market skiffle. </p> <a href="https://skiffel.web.app/home" target="_blank" class="btn btn-primary">View</a> </div> </div> </div> <div class="col"> <div class="card" style="width: 15rem;"> <img class="card-img-top" src="/images/debt_defender.jpeg" alt="Card image cap"> <div class="card-body"> <h5 class="card-title">Debt defender</h5> <p class="card-text"> Application built to help college students make better financial deciaions. Built furing a hackaton. </p> <a href="https://firestore-84244.firebaseapp.com/" target="_blank" class="btn btn-primary">View</a> </div> </div> </div> </div> </div> </section> <section id="footer"> <h1 class="section-title">Contact</h1> <footer class="bg-light"> <div class="row"> <div class="col"></div> <div class="col"> <ion-icon name="logo-linkedin" onclick="window.open('https://www.linkedin.com/in/tochukwu-ibe-ekeocha-949bb2170/')"></ion-icon> </div> <div class="col"> <ion-icon name="logo-github" onclick="window.open('https://github.com/Tochukwuibe')"></ion-icon> </div> <div class="col"></div> </div> </footer> </section> <script src="/script.js"></script> <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> <script src="https://unpkg.com/ionicons@5.0.0/dist/ionicons.js"></script> </body> </html>
40.467354
120
0.460258
1701b3f4d43e7fa84db6799526d217d5fe10a640
993
h
C
Software/LautIO/src/util/interfaces/interfaces.h
olell/LautIO
3f3d597898e63726776e36444001607660b2d9c7
[ "MIT" ]
3
2021-04-19T16:21:47.000Z
2021-07-09T18:26:39.000Z
Software/LautIO/src/util/interfaces/interfaces.h
olell/LautIO
3f3d597898e63726776e36444001607660b2d9c7
[ "MIT" ]
8
2021-03-16T20:57:51.000Z
2021-07-15T21:37:17.000Z
Software/LautIO/src/util/interfaces/interfaces.h
olell/LautIO
3f3d597898e63726776e36444001607660b2d9c7
[ "MIT" ]
null
null
null
/* * * This file is part of LautIO * * Copyright 2021 - olel * LautIO is licensed under MIT License * See LICENSE file for more information * */ #pragma once #include "ArduinoJson.h" #include "util/interfaces/dsp.h" #include "util/interfaces/amp.h" #include "util/interfaces/config.h" #include "util/interfaces/system.h" #include "util/interfaces/ui.h" const char* handle_interfaces(DynamicJsonDocument input) { const char* category = input["category"]; if (strcmp(category, "dsp") == 0) { return dsp_interface_handler(input); } else if (strcmp(category, "amp") == 0) { return amp_interface_handler(input); } else if (strcmp(category, "config") == 0) { return config_interface_handler(input); } else if (strcmp(category, "system") == 0) { return system_interface_handler(input); } else if (strcmp(category, "ui") == 0) { return ui_interface_handler(input); } else { return ""; } }
24.825
58
0.64149
d90a791ae0c1045fdfd93bc853bbca99faa35522
638
asm
Assembly
malban/Release/VRelease/Release.History/VRelease_2017_04_23/Song/track_09_08.asm
mikepea/vectrex-playground
0de7d2d6db0914d915f4334402f747ab3bcdc7e6
[ "0BSD" ]
5
2018-01-14T10:03:50.000Z
2020-01-17T13:53:49.000Z
malban/Release/VRelease/Release.History/VRelease_2017_04_23/Song/track_09_08.asm
mikepea/vectrex-playground
0de7d2d6db0914d915f4334402f747ab3bcdc7e6
[ "0BSD" ]
null
null
null
malban/Release/VRelease/Release.History/VRelease_2017_04_23/Song/track_09_08.asm
mikepea/vectrex-playground
0de7d2d6db0914d915f4334402f747ab3bcdc7e6
[ "0BSD" ]
null
null
null
dw $0040 track_09_08: db $FF, $18, $97, $DE, $63, $FE, $1A, $7E, $E6, $34 db $ED, $FC, $70, $30, $FF, $BC, $9E, $3F, $18, $F9 db $DE, $8E, $3D, $6F, $27, $8F, $FD, $E8, $E9, $C4 db $BE, $EA, $A3, $EE, $FD, $2F, $3F, $A8, $F6, $8C db $4B, $AC, $E1, $D3, $48, $FF, $18, $7D, $E6, $3F db $E1, $A7, $EE, $63, $4E, $DF, $C7, $03, $0F, $34 db $38, $69, $13, $D5, $0D, $E6, $44, $D4, $37, $03 db $0F, $33, $C6, $8F, $3D, $4F, $1E, $63, $CD, $3C db $70, $30, $FF, $DE, $8E, $9C, $4B, $EE, $AA, $3E db $EF, $D2, $F3, $FA, $8F, $68, $C4, $BA, $CE, $1D db $34, $8F, $53, $C8, $6F, $7B, $1E, $4F, $17, $77 db $7F, $7B, $B1, $C2, $EE, $00
45.571429
52
0.4279
2dcba41341bfa6bd37b035ea8d49671f64935180
142
htm
HTML
etc/docflex-doclet-1.6.1/templates/JavadocPro/help/params/filter.byTags.include.htm
fharenheit/template-mapreduce
9fb02335e184f36adb14b0f3d475939045e795f4
[ "Info-ZIP" ]
4
2015-05-22T06:30:02.000Z
2016-05-22T08:22:50.000Z
etc/docflex-doclet-1.6.1/templates/JavadocPro/help/params/filter.byTags.include.htm
fharenheit/template-mapreduce
9fb02335e184f36adb14b0f3d475939045e795f4
[ "Info-ZIP" ]
1
2016-05-22T03:02:12.000Z
2016-05-22T08:29:39.000Z
etc/docflex-doclet-1.6.1/templates/JavadocPro/help/params/filter.byTags.include.htm
fharenheit/template-mapreduce
9fb02335e184f36adb14b0f3d475939045e795f4
[ "Info-ZIP" ]
10
2015-05-22T06:30:03.000Z
2020-12-28T12:00:35.000Z
This group of parameters allows you to include in the generated documentation only classes, fields and methods marked with the specified tags.
71
82
0.838028
8e18a8ebf135fe3b866fb70a4da1fd31bbf9600e
896
rb
Ruby
features/support/hooks.rb
yurkapur/wikipedia_appium
fbf43ba857458c390c592e4051f107bc4740b350
[ "MIT" ]
null
null
null
features/support/hooks.rb
yurkapur/wikipedia_appium
fbf43ba857458c390c592e4051f107bc4740b350
[ "MIT" ]
null
null
null
features/support/hooks.rb
yurkapur/wikipedia_appium
fbf43ba857458c390c592e4051f107bc4740b350
[ "MIT" ]
null
null
null
def screenshots_dir File.expand_path(File.join(File.dirname(__FILE__),"..","..","screenshots")) end AfterConfiguration do FileUtils.rm_r(screenshots_dir) if File.directory?(screenshots_dir) end Before do $driver.start_driver end After do |scenario| if scenario.failed? unless File.directory?(screenshots_dir) raise "!!!Cannot capture screenshots!!! Screenshot directory #{screenshots_dir} exists but isn't a directory" if File.exists? screenshots_dir FileUtils.mkdir_p(screenshots_dir) end time_stamp = Time.now.strftime("%Y-%m-%d_at_%H.%M.%S").to_s screenshot_name = "#{time_stamp}_failure_#{scenario.name.gsub(/[^\w`~!@#\$%&\(\)_\-\+=\[\]\{\};:',]/, '-')}.png" screenshot_file = File.join(screenshots_dir, screenshot_name) $driver.screenshot(screenshot_file) embed("screenshots/#{screenshot_name}", 'image/png') end $driver.driver_quit end
34.461538
147
0.709821
d50f6abd083ca3763eb9c316d2abb348f2d54e5b
907
asm
Assembly
src/test/ref/pcea-pointer-1.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
2
2022-03-01T02:21:14.000Z
2022-03-01T04:33:35.000Z
src/test/ref/pcea-pointer-1.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
src/test/ref/pcea-pointer-1.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
// These pointers lives on zeropage // KickAss should be able to add .z to the STAs // Commodore 64 PRG executable file .file [name="pcea-pointer-1.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :BasicUpstart(main) .const SIZEOF_UNSIGNED_INT = 2 .label _s1 = $ee .label _s2 = $ef .segment Code main: { // *_s1 = 7 lda #7 sta.z _s1 // *_s2 = 812 lda #<$32c sta.z _s2 lda #>$32c sta.z _s2+1 // *(_s2-1) = 812 lda #<$32c sta.z _s2-1*SIZEOF_UNSIGNED_INT lda #>$32c sta.z _s2-1*SIZEOF_UNSIGNED_INT+1 ldx #0 __b1: // for(char i=0;i<4;i++) cpx #4 bcc __b2 // } rts __b2: // _s1[i] = 12 lda #$c sta.z _s1,x // for(char i=0;i<4;i++) inx jmp __b1 }
20.613636
65
0.589857
dde7f0d0530e5d429916010771b60a3bd4d90edb
1,145
c
C
Programming-Lab/Assignment-05/two_matrix_multiplication.c
soham0-0/Coursework-DSA-and-Programming-Labs
e2245e40d9c752903716450de27f289b4eb882eb
[ "MIT" ]
null
null
null
Programming-Lab/Assignment-05/two_matrix_multiplication.c
soham0-0/Coursework-DSA-and-Programming-Labs
e2245e40d9c752903716450de27f289b4eb882eb
[ "MIT" ]
null
null
null
Programming-Lab/Assignment-05/two_matrix_multiplication.c
soham0-0/Coursework-DSA-and-Programming-Labs
e2245e40d9c752903716450de27f289b4eb882eb
[ "MIT" ]
null
null
null
/* Q.a) Write a program to multiply two given matrices. */ #include<stdio.h> int main(){ int m1, n1, m2, n2; printf("Enter m and n for mxn matrix A :"); scanf("%d %d", &m1, &n1); int A[m1][n1]; printf("Enter Matric A: \n"); for(int i=0; i<m1; i++){ for(int j=0; j<n1; j++) scanf("%d", &A[i][j]); } printf("Enter m and n for mxn matrix B :"); scanf("%d %d", &m2, &n2); int B[m2][n2]; printf("Enter Matric B: \n"); for(int i=0; i<m2; i++){ for(int j=0; j<n2; j++) scanf("%d", &B[i][j]); } if(n1==m2){ int ans[m1][n2]; for(int i=0; i<m1; i++){ for(int j=0; j<n2; j++) { ans[i][j]=0; for(int k=0; k<n1; k++){ ans[i][j]+=A[i][k]*B[k][j]; } } } printf("The Resultant matrix A*B is: \n"); for(int i=0; i<m1; i++){ for(int j=0; j<n2; j++) { printf("%d ", ans[i][j]); } printf("\n"); } }else{ printf("Matrices are not multipliable. Aborting!!\n"); } return 0; }
26.022727
62
0.406114
9649ae1d4fdb755b3a6fd00bd8f2d088d0ec10e4
215
php
PHP
inventory v9.2/php/selected_search_year.php
keshav9316/inventory-management-system
7a070edf0d293e6d5a4f6205515579026bc4bc84
[ "MIT" ]
1
2020-01-07T12:16:06.000Z
2020-01-07T12:16:06.000Z
inventory v9.2/php/selected_search_year.php
keshav9316/inventory-management-system
7a070edf0d293e6d5a4f6205515579026bc4bc84
[ "MIT" ]
null
null
null
inventory v9.2/php/selected_search_year.php
keshav9316/inventory-management-system
7a070edf0d293e6d5a4f6205515579026bc4bc84
[ "MIT" ]
null
null
null
<?php require 'connect.php'; $sql = "SELECT * FROM `device_out` where (device_out.date_out like '%$year%') order by appno desc; "; $result = mysqli_query($conn, $sql); require 'closeconnection.php'; ?>
21.5
103
0.651163
bde79e6579e4fc85f554baae177e4375ad9418fe
3,627
lua
Lua
tmplt/components/pageXXX/page_screenshot.lua
nyamamoto-neos/Tiled_Sample
45fd6b613b04fa56342cd2c20a9b2580443efaa5
[ "MIT" ]
null
null
null
tmplt/components/pageXXX/page_screenshot.lua
nyamamoto-neos/Tiled_Sample
45fd6b613b04fa56342cd2c20a9b2580443efaa5
[ "MIT" ]
null
null
null
tmplt/components/pageXXX/page_screenshot.lua
nyamamoto-neos/Tiled_Sample
45fd6b613b04fa56342cd2c20a9b2580443efaa5
[ "MIT" ]
1
2021-07-08T01:31:53.000Z
2021-07-08T01:31:53.000Z
-- Code created by Kwik - Copyright: kwiksher.com {{year}} -- Version: {{vers}} -- Project: {{ProjName}} -- local json = require('json') local _M = {} local _K = require("Application") _K.screenshot = _M local needle = "Storage" -- Helper function that determines if a value is inside of a given table. local function isValueInTable( haystack, needle ) assert( type(haystack) == "table", "isValueInTable() : First parameter must be a table." ) assert( needle ~= nil, "isValueInTable() : Second parameter must be not be nil." ) for key, value in pairs( haystack ) do if ( value == needle ) then return true end end return false end -- Called when the user has granted or denied the requested permissions. local function permissionsListener( event, deferred ) -- Print out granted/denied permissions. print( "permissionsListener( " .. json.prettify( event or {} ) .. " )" ) -- Check again for camera (and storage) access. local grantedPermissions = system.getInfo("grantedAppPermissions") if ( grantedPermissions ) then if ( not isValueInTable( grantedPermissions, needle ) ) then print( "Lacking storage permission!" ) deferred:reject() else deferred:resolve() end end end function checkPermissions() local deferred = Deferred() if ( system.getInfo( "platform" ) == "android" and system.getInfo( "androidApiLevel" ) >= 23 ) then local grantedPermissions = system.getInfo("grantedAppPermissions") if ( grantedPermissions ) then if ( not isValueInTable( grantedPermissions, needle ) ) then print( "Lacking storage permission!" ) native.showPopup( "requestAppPermission", { appPermission={needle}, listener = function(event) permissionListener(event, deferred) end} ) else deferred:resolve() end end else if media.hasSource( media.PhotoLibrary ) then deferred:resolve() else deferred:reject() end end return deferred:promise() end --------------------- function _M:localPos(UI) if _K.allAudios.cam_shutter == nil then _K.allAudios.cam_shutter = audio.loadSound(_K.audioDir.."shutter.mp3", _K.systemDir ) end end -- function _M:didShow(UI) _M.layer = UI.layer end -- function _M:takeScreenShot(ptit, pmsg, shutter, buttonArr) checkPermissions() :done(function() if shutter then audio.play(_K.allAudios.cam_shutter, {channel=31}) end if buttonArr then for i=1, #buttonArr do local myLayer = _M.layer[buttonArr[i]] myLayer.alphaBeforeScreenshot = myLayer.alpha myLayer.alpha = 0 end end -- local screenCap = display.captureScreen( true ) local alert = native.showAlert(ptit, pmsg, { "OK" } ) screenCap:removeSelf() if buttonArr then for i=1, #buttonArr do local myLayer = _M.layer[buttonArr[i]] myLayer.alpha = myLayer.alphaBeforeScreenshot end end end) :fail(function() print("fail") native.showAlert( "Corona", "Request permission is not granted on "..system.getInfo("model"), { "OK" } ) end) end -- function _M:toDispose(UI) if _K.allAudios.cam_shutter then audio.stop(31) end end -- function _M:toDestroy(UI) audio.dispose(_K.allAudios.cam_shutter) _K.allAudios.cam_shutter = nil end -- function _M:willHide(UI) end -- function _M:localVars(UI) end -- return _M
30.225
153
0.628343
39fc7e77ebdd2e592e847c007bdcf566160c80b6
1,625
java
Java
Mage.Sets/src/mage/cards/h/HeavyInfantry.java
FateRevoked/mage
90418ddafda100a3b4e57597aad31af5428d7116
[ "MIT" ]
2
2019-07-03T07:54:13.000Z
2019-07-03T07:54:28.000Z
Mage.Sets/src/mage/cards/h/HeavyInfantry.java
FateRevoked/mage
90418ddafda100a3b4e57597aad31af5428d7116
[ "MIT" ]
7
2020-03-04T21:58:30.000Z
2022-01-21T23:15:47.000Z
Mage.Sets/src/mage/cards/h/HeavyInfantry.java
FateRevoked/mage
90418ddafda100a3b4e57597aad31af5428d7116
[ "MIT" ]
3
2018-07-26T19:00:47.000Z
2020-04-30T23:12:14.000Z
package mage.cards.h; import java.util.UUID; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.EntersBattlefieldTriggeredAbility; import mage.abilities.effects.common.TapTargetEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.constants.SubType; import mage.constants.TargetController; import mage.filter.common.FilterCreaturePermanent; import mage.filter.predicate.permanent.ControllerPredicate; import mage.target.common.TargetCreaturePermanent; /** * * @author LevelX2 */ public final class HeavyInfantry extends CardImpl { private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("creature an opponent controls"); static { filter.add(new ControllerPredicate(TargetController.OPPONENT)); } public HeavyInfantry(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{W}"); this.subtype.add(SubType.HUMAN); this.subtype.add(SubType.SOLDIER); this.power = new MageInt(3); this.toughness = new MageInt(4); // When Heavy Infantry enters the battlefield, tap target creature an opponent controls. Ability ability = new EntersBattlefieldTriggeredAbility(new TapTargetEffect()); ability.addTarget(new TargetCreaturePermanent(filter)); this.addAbility(ability); } public HeavyInfantry(final HeavyInfantry card) { super(card); } @Override public HeavyInfantry copy() { return new HeavyInfantry(this); } }
31.25
119
0.732308
48cb712e724ccca15c1fe4791071fc4d7b4786f3
271
h
C
Engine/src/Scripting/Lua/LuaBindings.h
mfkiwl/Cross-Platform-Game-Engine
72e6c1adc4fc78fdd0e326cc47ed819d6aa06d3b
[ "MIT" ]
null
null
null
Engine/src/Scripting/Lua/LuaBindings.h
mfkiwl/Cross-Platform-Game-Engine
72e6c1adc4fc78fdd0e326cc47ed819d6aa06d3b
[ "MIT" ]
null
null
null
Engine/src/Scripting/Lua/LuaBindings.h
mfkiwl/Cross-Platform-Game-Engine
72e6c1adc4fc78fdd0e326cc47ed819d6aa06d3b
[ "MIT" ]
null
null
null
#pragma once #include "sol/sol.hpp" namespace Lua { void BindLogging(sol::state& state); void BindApp(sol::state& state); void BindScene(sol::state& state); void BindEntity(sol::state& state); void BindInput(sol::state& state); void BindMath(sol::state& state); }
20.846154
37
0.715867
e0ca03c36db6f0775c1325eb76f8d6dec5c4901c
2,025
kt
Kotlin
db-async-common/src/main/java/com/github/jasync/sql/db/util/NettyUtils.kt
andy-yx-chen/jasync-sql
1936057a0f12845814cd801eadaa578c2b9528e2
[ "Apache-2.0" ]
null
null
null
db-async-common/src/main/java/com/github/jasync/sql/db/util/NettyUtils.kt
andy-yx-chen/jasync-sql
1936057a0f12845814cd801eadaa578c2b9528e2
[ "Apache-2.0" ]
null
null
null
db-async-common/src/main/java/com/github/jasync/sql/db/util/NettyUtils.kt
andy-yx-chen/jasync-sql
1936057a0f12845814cd801eadaa578c2b9528e2
[ "Apache-2.0" ]
null
null
null
package com.github.jasync.sql.db.util import io.netty.channel.EventLoopGroup import io.netty.channel.epoll.Epoll import io.netty.channel.epoll.EpollEventLoopGroup import io.netty.channel.epoll.EpollSocketChannel import io.netty.channel.kqueue.KQueue import io.netty.channel.kqueue.KQueueEventLoopGroup import io.netty.channel.kqueue.KQueueSocketChannel import io.netty.channel.nio.NioEventLoopGroup import io.netty.channel.socket.SocketChannel import io.netty.channel.socket.nio.NioSocketChannel import io.netty.util.internal.logging.InternalLoggerFactory import io.netty.util.internal.logging.Slf4JLoggerFactory import mu.KotlinLogging private val logger = KotlinLogging.logger {} object NettyUtils { init { InternalLoggerFactory.setDefaultFactory(Slf4JLoggerFactory.INSTANCE) when { tryOrFalse { Epoll.isAvailable() } -> logger.info { "jasync available transport - native (epoll)" } tryOrFalse { KQueue.isAvailable() } -> logger.info { "jasync available transport - native (kqueue)" } else -> logger.info { "jasync selected transport - nio" } } } val DefaultEventLoopGroup: EventLoopGroup by lazy { when { tryOrFalse { Epoll.isAvailable() } -> EpollEventLoopGroup(0, DaemonThreadsFactory("db-sql-netty")) tryOrFalse { KQueue.isAvailable() } -> KQueueEventLoopGroup(0, DaemonThreadsFactory("db-sql-netty")) else -> NioEventLoopGroup(0, DaemonThreadsFactory("db-sql-netty")) } } fun getSocketChannelClass(eventLoopGroup: EventLoopGroup): Class<out SocketChannel> = when { tryOrFalse { eventLoopGroup is EpollEventLoopGroup } -> EpollSocketChannel::class.java tryOrFalse { eventLoopGroup is KQueueEventLoopGroup } -> KQueueSocketChannel::class.java else -> NioSocketChannel::class.java } private fun tryOrFalse(fn: () -> Boolean): Boolean { return try { fn.invoke() } catch (t: Throwable) { false } } }
38.942308
113
0.710617
2f1c3eeb2bc7885a331288406be5325e56c23017
103
php
PHP
tests/Stub/MessageStub.php
CodeJetNet/Http
7c80a33fc00359c1d6d106bdc447ff929f0ce7c6
[ "MIT" ]
null
null
null
tests/Stub/MessageStub.php
CodeJetNet/Http
7c80a33fc00359c1d6d106bdc447ff929f0ce7c6
[ "MIT" ]
null
null
null
tests/Stub/MessageStub.php
CodeJetNet/Http
7c80a33fc00359c1d6d106bdc447ff929f0ce7c6
[ "MIT" ]
null
null
null
<?php namespace CodeJet\Http\Stub; use CodeJet\Http\Message; class MessageStub extends Message { }
9.363636
33
0.757282
6b3db3e1f5212fb9c18425ae18d0e246fdc9c296
3,569
h
C
source/tak/playtak.h
Allybag/takbag
4557755e676f05b3db9850a482a60fae16a4db21
[ "BSL-1.0" ]
null
null
null
source/tak/playtak.h
Allybag/takbag
4557755e676f05b3db9850a482a60fae16a4db21
[ "BSL-1.0" ]
null
null
null
source/tak/playtak.h
Allybag/takbag
4557755e676f05b3db9850a482a60fae16a4db21
[ "BSL-1.0" ]
1
2021-05-06T12:56:14.000Z
2021-05-06T12:56:14.000Z
#pragma once #include "log/Logger.h" #include "playtak/PlaytakClient.h" #include "Game.h" #include "engine/Engine.h" #include <vector> #include <string> #include <cassert> void playtak(const OptionMap& options) { Logger logger("player"); PlaytakClient client; std::vector<std::string> loginDetails; if (options.contains("user")) { assert(options.contains("pass")); loginDetails.push_back(options.at("user")); loginDetails.push_back(options.at("pass")); } client.connect(loginDetails); std::size_t gameSize = options.contains("size") ? std::stoi(options.at("size")) : 6; std::size_t seekNum = options.contains("seek") ? std::stoi(options.at("seek")) : 0; std::size_t flats = options.contains("flats") ? std::stoi(options.at("flats")) : pieceCounts[gameSize].first; std::size_t caps = options.contains("caps") ? std::stoi(options.at("flats")) : pieceCounts[gameSize].second; std::size_t time = options.contains("time") ? std::stoi(options.at("time")) : 180; std::size_t incr = options.contains("increment") ? std::stoi(options.at("increment")) : 5; std::string openingPath = options.contains("openingBook") ? options.at("openingBook") : ""; double komi = options.contains("komi") ? std::stod(options.at("komi")) : 2.5; assert(komi >= 0); // Playtak.com only allows positive komi GameConfig gameConfig {gameSize, time, incr, static_cast<std::size_t>(komi * 2), flats, caps, false, false}; if (seekNum != 0) client.acceptSeek(seekNum); else client.seek(gameConfig); Engine engine = openingPath.empty() ? Engine() : Engine(openingPath); Game game(gameSize, komi); int colour = 0; int remainingTime = 0; while (client.connected()) { auto messages = client.receiveMessages(); for (const auto& message : messages) { if (message.mType == PlaytakMessageType::StartGame) { logger << LogLevel::Info << "Starting Game" << Flush; game = Game(gameSize, komi); if (message.mData == "white") { colour = 0; auto engineMove = engine.chooseMove(game.getPosition()); logger << LogLevel::Info << "Sending move " << engineMove << Flush; game.play(engineMove); client.sendMove(engineMove); } else { colour = 1; } } else if (message.mType == PlaytakMessageType::GameUpdate) { auto opponentMove = message.mData; logger << LogLevel::Info << "Received move " << opponentMove << Flush; game.play(opponentMove); auto engineMove = engine.chooseMove(game.getPosition(), remainingTime / 10); logger << LogLevel::Info << "Sending move " << engineMove << Flush; game.play(engineMove); client.sendMove(engineMove); } else if (message.mType == PlaytakMessageType::GameTime) { auto remainingTimes = split(message.mData, ' '); remainingTime = std::stoi(remainingTimes[colour]); } else if (message.mType == PlaytakMessageType::GameOver) { logger << LogLevel::Info << "Game Over!" << Flush; client.seek(gameConfig); engine.reset(); } } } }
37.568421
113
0.561502
b2bf04c3b73ed2e5d7a5d3616651ad7a3f22eac7
1,170
py
Python
buffers/introspective_buffer.py
GittiHab/mbrl-thesis-code
10ecd6ef7cbb2df4bd03ce9928e344eab4238a2e
[ "MIT" ]
null
null
null
buffers/introspective_buffer.py
GittiHab/mbrl-thesis-code
10ecd6ef7cbb2df4bd03ce9928e344eab4238a2e
[ "MIT" ]
null
null
null
buffers/introspective_buffer.py
GittiHab/mbrl-thesis-code
10ecd6ef7cbb2df4bd03ce9928e344eab4238a2e
[ "MIT" ]
null
null
null
import numpy as np from typing import Union, Optional, List, Dict, Any from buffers.chunk_buffer import ChunkReplayBuffer class IntrospectiveChunkReplayBuffer(ChunkReplayBuffer): def __init__(self, buffer_size: int, *args, **kwargs): super().__init__(buffer_size, *args, **kwargs) self.sample_counts = np.zeros((buffer_size,), dtype=np.int) self.first_access = np.zeros((buffer_size,), dtype=np.int) - 1 def _log_indices(self, indices): self.sample_counts[indices] += 1 mask = np.zeros_like(self.first_access, dtype=bool) mask[indices] = 1 self.first_access[(self.first_access == -1) & mask] = self.pos def add(self, obs: np.ndarray, next_obs: np.ndarray, action: np.ndarray, reward: np.ndarray, done: np.ndarray, infos: List[Dict[str, Any]] ): super().add(obs, next_obs, action, reward, done, infos) def _get_chunk_batches(self, beginnings): sampled_indices = super()._get_chunk_batches(beginnings) self._log_indices(sampled_indices.flatten()) return sampled_indices
35.454545
70
0.638462
6b4809d1ce89bedbc8e482e8b31da5a3a21b2b10
919
h
C
keccak.h
Titaniumtown/mkp224o
609f48ed165aa27c63175e130b6e11cb1c4da285
[ "CC0-1.0" ]
704
2017-09-24T19:59:51.000Z
2022-03-31T19:57:04.000Z
keccak.h
Titaniumtown/mkp224o
609f48ed165aa27c63175e130b6e11cb1c4da285
[ "CC0-1.0" ]
69
2017-10-24T07:00:32.000Z
2022-03-27T19:42:20.000Z
keccak.h
Titaniumtown/mkp224o
609f48ed165aa27c63175e130b6e11cb1c4da285
[ "CC0-1.0" ]
104
2017-10-03T09:44:37.000Z
2022-03-31T17:33:07.000Z
void Keccak(u32 r, const u8 *in, u64 inLen, u8 sfx, u8 *out, u64 outLen); #define FIPS202_SHA3_224_LEN 28 #define FIPS202_SHA3_256_LEN 32 #define FIPS202_SHA3_384_LEN 48 #define FIPS202_SHA3_512_LEN 64 static inline void FIPS202_SHAKE128(const u8 *in, u64 inLen, u8 *out, u64 outLen) { Keccak(1344, in, inLen, 0x1F, out, outLen); } static inline void FIPS202_SHAKE256(const u8 *in, u64 inLen, u8 *out, u64 outLen) { Keccak(1088, in, inLen, 0x1F, out, outLen); } static inline void FIPS202_SHA3_224(const u8 *in, u64 inLen, u8 *out) { Keccak(1152, in, inLen, 0x06, out, 28); } static inline void FIPS202_SHA3_256(const u8 *in, u64 inLen, u8 *out) { Keccak(1088, in, inLen, 0x06, out, 32); } static inline void FIPS202_SHA3_384(const u8 *in, u64 inLen, u8 *out) { Keccak(832, in, inLen, 0x06, out, 48); } static inline void FIPS202_SHA3_512(const u8 *in, u64 inLen, u8 *out) { Keccak(576, in, inLen, 0x06, out, 64); }
61.266667
129
0.724701
1667d5526cdac9dce88f035b2ed4fd3433de2b56
262
ts
TypeScript
src/internal/__test__/first.spec.ts
jacobwgillespie/metamorphosis
ecec56a01bf4d8b2913c1328bb7bd76f21d2d4f2
[ "MIT" ]
null
null
null
src/internal/__test__/first.spec.ts
jacobwgillespie/metamorphosis
ecec56a01bf4d8b2913c1328bb7bd76f21d2d4f2
[ "MIT" ]
6
2020-01-01T01:44:01.000Z
2020-09-04T06:41:30.000Z
src/internal/__test__/first.spec.ts
jacobwgillespie/metamorphosis
ecec56a01bf4d8b2913c1328bb7bd76f21d2d4f2
[ "MIT" ]
null
null
null
import {first} from '../first' import {of} from '../of' test('first', async () => { expect(await first(of(1, 2, 3))).toBe(1) expect(await first(of(1, 2, 3), i => i % 2 === 0)).toBe(2) expect(await first(of<number>(), i => i % 2 === 0)).toBe(undefined) })
29.111111
69
0.553435
a14ff207a8490ef6345e6ddc4a092ac29d7c2ae7
847
swift
Swift
CleanExample/Authentication/DI/AuthenticationServiceLocator.swift
feliperuzg/CleanExample
20bc2aab5dbfa021593b4338440044de658bc870
[ "MIT" ]
7
2017-12-14T22:44:18.000Z
2021-08-19T18:19:04.000Z
CleanExample/Authentication/DI/AuthenticationServiceLocator.swift
feliperuzg/CleanExample
20bc2aab5dbfa021593b4338440044de658bc870
[ "MIT" ]
1
2017-12-15T19:49:10.000Z
2017-12-19T13:36:13.000Z
CleanExample/Authentication/DI/AuthenticationServiceLocator.swift
feliperuzg/CleanExample
20bc2aab5dbfa021593b4338440044de658bc870
[ "MIT" ]
2
2019-06-29T14:41:21.000Z
2019-10-16T05:07:13.000Z
// // AuthenticationServiceLocator.swift // CleanExample // // Created by Felipe Ruz on 19-07-17. // Copyright © 2017 Felipe Ruz. All rights reserved. // import Foundation class AuthenticationServiceLocator { let storageLocator = StorageServiceLocator() let networkConfiguration = NetworkConfiguration() var restApi: AuthenticationRestApi { return AuthenticationMockApi(networkConfiguration: networkConfiguration) } var dataSource: AuthenticationDataSource { return AuthenticationMockDataSource(restApi: restApi) } var repository: AuthenticationRepositoryProtocol { return AuthenticationRepository(datasource: dataSource) } var useCases: AuthenticationUseCase { return AuthenticationUseCase(repository: repository, storageRepository: storageLocator.repository) } }
27.322581
106
0.753247
e92a40c21a3bc5830fe8d9c56291c53069da0197
1,859
lua
Lua
Lua/Buildings/MoistureVaporator.lua
startrail/SurvivingMars
b58abe8393497bb07210ce974baa7ea70dbb5a88
[ "BSD-Source-Code" ]
1
2019-05-21T03:01:00.000Z
2019-05-21T03:01:00.000Z
Lua/Buildings/MoistureVaporator.lua
startrail/SurvivingMars
b58abe8393497bb07210ce974baa7ea70dbb5a88
[ "BSD-Source-Code" ]
null
null
null
Lua/Buildings/MoistureVaporator.lua
startrail/SurvivingMars
b58abe8393497bb07210ce974baa7ea70dbb5a88
[ "BSD-Source-Code" ]
null
null
null
DefineClass.MoistureVaporator = { __parents = { "WaterProducer", "ElectricityConsumer", "OutsideBuildingWithShifts" }, --Number of other MoistureVaporators within the penalty radius nearby_vaporators = 0, overlap_penalty_modifier = false, } local vaporator_search = { class = "MoistureVaporator", hexradius = const.MoistureVaporatorRange, filter = function(vaporator, this) return vaporator ~= this and vaporator.working end, } function MoistureVaporator:GameInit() self.overlap_penalty_modifier = Modifier:new{ id = "VaporatorOverlapPenalty", prop = "water_production", percent = -const.MoistureVaporatorPenaltyPercent, } end function MoistureVaporator:OnSetWorking(working) WaterProducer.OnSetWorking(self, working) local delta = working and 1 or -1 vaporator_search.area = self local vaporators = GetObjects(vaporator_search, self) vaporator_search.area = false for i=1,#vaporators do local overlapped_vaporator = vaporators[i] overlapped_vaporator:UpdateNearbyVaporatorsCount(delta) end self:UpdateNearbyVaporatorsCount(#vaporators - self.nearby_vaporators) end function MoistureVaporator:UpdateNearbyVaporatorsCount(delta) local old_count = self.nearby_vaporators local new_count = self.nearby_vaporators + (delta or 0) if new_count > 0 and old_count == 0 then self:UpdateModifier("add", self.overlap_penalty_modifier, 0, -const.MoistureVaporatorPenaltyPercent) elseif new_count == 0 and old_count > 0 then self:UpdateModifier("remove", self.overlap_penalty_modifier, 0, const.MoistureVaporatorPenaltyPercent) end self.nearby_vaporators = new_count end function MoistureVaporator:GetSelectionRadiusScale() return const.MoistureVaporatorRange end function OnMsg.GatherFXActors(list) list[#list + 1] = "MoistureVaporator" end function OnMsg.GatherFXTargets(list) list[#list + 1] = "MoistureVaporator" end
30.47541
104
0.80043
083b93e126d58893681c006617b7ef6dced6f7c1
1,181
asm
Assembly
_build/dispatcher/jmp_ippsECCPNegativePoint_7c0d7feb.asm
zyktrcn/ippcp
b0bbe9bbb750a7cf4af5914dd8e6776a8d544466
[ "Apache-2.0" ]
1
2021-10-04T10:21:54.000Z
2021-10-04T10:21:54.000Z
_build/dispatcher/jmp_ippsECCPNegativePoint_7c0d7feb.asm
zyktrcn/ippcp
b0bbe9bbb750a7cf4af5914dd8e6776a8d544466
[ "Apache-2.0" ]
null
null
null
_build/dispatcher/jmp_ippsECCPNegativePoint_7c0d7feb.asm
zyktrcn/ippcp
b0bbe9bbb750a7cf4af5914dd8e6776a8d544466
[ "Apache-2.0" ]
null
null
null
extern m7_ippsECCPNegativePoint:function extern n8_ippsECCPNegativePoint:function extern y8_ippsECCPNegativePoint:function extern e9_ippsECCPNegativePoint:function extern l9_ippsECCPNegativePoint:function extern n0_ippsECCPNegativePoint:function extern k0_ippsECCPNegativePoint:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeInit:function segment .data align 8 dq .Lin_ippsECCPNegativePoint .Larraddr_ippsECCPNegativePoint: dq m7_ippsECCPNegativePoint dq n8_ippsECCPNegativePoint dq y8_ippsECCPNegativePoint dq e9_ippsECCPNegativePoint dq l9_ippsECCPNegativePoint dq n0_ippsECCPNegativePoint dq k0_ippsECCPNegativePoint segment .text global ippsECCPNegativePoint:function (ippsECCPNegativePoint.LEndippsECCPNegativePoint - ippsECCPNegativePoint) .Lin_ippsECCPNegativePoint: db 0xf3, 0x0f, 0x1e, 0xfa call ippcpSafeInit wrt ..plt align 16 ippsECCPNegativePoint: db 0xf3, 0x0f, 0x1e, 0xfa mov rax, qword [rel ippcpJumpIndexForMergedLibs wrt ..gotpc] movsxd rax, dword [rax] lea r11, [rel .Larraddr_ippsECCPNegativePoint] mov r11, qword [r11+rax*8] jmp r11 .LEndippsECCPNegativePoint:
30.282051
111
0.813717
5589d83f79e0c518ab69e6c17e8a34c8fcb3966e
65
html
HTML
app/partials/actions/action.html
TechAtNYU/intranet
e118ffb51e687ceebbcdd94848863740289aedfa
[ "MIT" ]
7
2015-04-04T17:33:42.000Z
2016-02-11T06:21:26.000Z
app/partials/actions/action.html
TechAtNYU/intranet
e118ffb51e687ceebbcdd94848863740289aedfa
[ "MIT" ]
123
2015-02-15T23:51:13.000Z
2018-04-15T15:58:07.000Z
app/partials/actions/action.html
TechAtNYU/intranet
e118ffb51e687ceebbcdd94848863740289aedfa
[ "MIT" ]
3
2016-10-05T17:13:31.000Z
2017-10-31T04:57:17.000Z
<div ng-include="pp.getTemplateUrl(action, resourceName)"></div>
32.5
64
0.753846
98d62df011e37c08c76d81f299ab74578ea76697
3,136
html
HTML
src/pages/naviroute/naviroute.html
RoseGeorge719/MyActivity
9ad0a7712da09ddca7417534bf88c902a23bd2ed
[ "MIT" ]
null
null
null
src/pages/naviroute/naviroute.html
RoseGeorge719/MyActivity
9ad0a7712da09ddca7417534bf88c902a23bd2ed
[ "MIT" ]
null
null
null
src/pages/naviroute/naviroute.html
RoseGeorge719/MyActivity
9ad0a7712da09ddca7417534bf88c902a23bd2ed
[ "MIT" ]
null
null
null
<ion-header> <ion-navbar> <button ion-button menuToggle> <ion-icon class="nav-icon"> <img src="assets/icon/nav-menu.png"> </ion-icon> </button> <ion-title> <ion-col center text-center> <img src="assets/img/logo.png" class="logo-nav"> </ion-col> </ion-title> </ion-navbar> </ion-header> <ion-content class="main-bg" no-bounce disable-scroll> <ion-fab top right edge> <avatar></avatar> </ion-fab> <div (tap)="showActivities()" style="text-align:center;width:100%;height:10%;padding-top:20px;"> <div style="margin:auto"> <div style="color:gray"> <img src="assets/icon/Routen.png" style="width:15px;height:15px" /> Routen </div> </div> </div> <ion-list style="padding-left: 16px; padding-right: 16px;width:100%;height:15%;margin-bottom:0px;"> <ion-row np-lines> <ion-col width-50 center text-center> <h-btn-3 [caption]="'SORTIEREN NACH'" (tap)="sortbyCity()" [subcaption]="'ORTSCHAFT'" [icon]="'assets/icon/Ort_negativ.png'"></h-btn-3> </ion-col> <ion-col width-50 center text-center> <h-btn-3 [caption]="'SORTIEREN NACH'" (tap)="sortbyDuration()" [subcaption]="'DAUER'" [icon]="'assets/icon/Zeit_negativ.png'"></h-btn-3> </ion-col> </ion-row> </ion-list> <div style="margin-top:-2px;width:100%;height:2px;background-color:rgba(255,255,255, 0.5)"></div> <ion-scroll scrollX="true" scrollY="true" style="width:100%;height:75%"> <div *ngFor="let activity of allActivities" (tap)="navigate(activity)" style="padding:0px;padding-top:10px"> <div style="display:block;width:100%;height:40px;"> <div style="width:15%;float:left"> <img src="assets/icon/Calisthenic.png" width="40px" /> </div> <div style="width:30%;float:left"> <div style="color:white;font-size:18px;font-weight:bold;width:100%;overflow: hidden">{{activity.type}}</div> <div style="color:white;font-size:10px;">{{activity.timestamp | date :'short'}} </div> </div> <div style="width:25%;float:left"> <div style="display:block;color:white;font-size:12px;margin-top:3px;width:100%;overflow: hidden;height:12px;overflow: hidden"> <img src="assets/icon/Zeit_negativ.png" width="12px" style="float:left" /> <b>&nbsp;{{getMinutes(activity.time)|number : '1.0-0'}}min {{activity.time%60 |number : '1.0-0'}}sec</b> </div> <div style="display:block;color:white;font-size:10px;margin-top:5px;width:100%;height:12px;overflow: hidden"> <img src="assets/icon/Ort_negativ.png" width="12px" style="float:left" /> &nbsp;{{activity.city}} </div> </div> <div style="width:10%;height:40px;float:left"> <img src="assets/icon/rain.png" /> </div> <div style="width:20%;text-align:center;margin-top:10px;float:left;color:white;font-size:16px;font-weight:bold">{{activity.distance | number : '1.2-2'}}km</div> </div> <div style="margin-left:5%;height:1px;width:90%;background-color:gray"></div> </div> </ion-scroll> </ion-content>
46.117647
168
0.617985
b967437d37067c27700a12114e697de73cac577f
12,356
c
C
vlc_linux/vlc-3.0.16/modules/codec/twolame.c
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
vlc_linux/vlc-3.0.16/modules/codec/twolame.c
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
vlc_linux/vlc-3.0.16/modules/codec/twolame.c
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
/***************************************************************************** * twolame.c: libtwolame encoder (MPEG-1/2 layer II) module * (using libtwolame from http://www.twolame.org/) ***************************************************************************** * Copyright (C) 2004-2005 VLC authors and VideoLAN * $Id: 6fdad1164c69ebe4f3572871ab423c0298949f6b $ * * Authors: Christophe Massiot <massiot@via.ecp.fr> * Gildas Bazin * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ /***************************************************************************** * Preamble *****************************************************************************/ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include <vlc_common.h> #include <vlc_plugin.h> #include <vlc_codec.h> #include <twolame.h> #define MPEG_FRAME_SIZE 1152 #define MAX_CODED_FRAME_SIZE 1792 /**************************************************************************** * Local prototypes ****************************************************************************/ static int OpenEncoder ( vlc_object_t * ); static void CloseEncoder ( vlc_object_t * ); static block_t *Encode ( encoder_t *, block_t * ); /***************************************************************************** * Module descriptor *****************************************************************************/ #define ENC_CFG_PREFIX "sout-twolame-" #define ENC_QUALITY_TEXT N_("Encoding quality") #define ENC_QUALITY_LONGTEXT N_( \ "Force a specific encoding quality between 0.0 (high) and 50.0 (low), " \ "instead of specifying a particular bitrate. " \ "This will produce a VBR stream." ) #define ENC_MODE_TEXT N_("Stereo mode") #define ENC_MODE_LONGTEXT N_( "Handling mode for stereo streams" ) #define ENC_VBR_TEXT N_("VBR mode") #define ENC_VBR_LONGTEXT N_( \ "Use Variable BitRate. Default is to use Constant BitRate (CBR)." ) #define ENC_PSY_TEXT N_("Psycho-acoustic model") #define ENC_PSY_LONGTEXT N_( \ "Integer from -1 (no model) to 4." ) static const int pi_stereo_values[] = { 0, 1, 2 }; static const char *const ppsz_stereo_descriptions[] = { N_("Stereo"), N_("Dual mono"), N_("Joint stereo") }; vlc_module_begin () set_shortname( "Twolame") set_description( N_("Libtwolame audio encoder") ) set_capability( "encoder", 120 ) set_callbacks( OpenEncoder, CloseEncoder ) set_category( CAT_INPUT ) set_subcategory( SUBCAT_INPUT_ACODEC ) add_float( ENC_CFG_PREFIX "quality", 0.0, ENC_QUALITY_TEXT, ENC_QUALITY_LONGTEXT, false ) add_integer( ENC_CFG_PREFIX "mode", 0, ENC_MODE_TEXT, ENC_MODE_LONGTEXT, false ) change_integer_list( pi_stereo_values, ppsz_stereo_descriptions ); add_bool( ENC_CFG_PREFIX "vbr", false, ENC_VBR_TEXT, ENC_VBR_LONGTEXT, false ) add_integer( ENC_CFG_PREFIX "psy", 3, ENC_PSY_TEXT, ENC_PSY_LONGTEXT, false ) vlc_module_end () static const char *const ppsz_enc_options[] = { "quality", "mode", "vbr", "psy", NULL }; /***************************************************************************** * encoder_sys_t : twolame encoder descriptor *****************************************************************************/ struct encoder_sys_t { /* * Input properties */ int16_t p_buffer[MPEG_FRAME_SIZE * 2]; int i_nb_samples; mtime_t i_pts; /* * libtwolame properties */ twolame_options *p_twolame; unsigned char p_out_buffer[MAX_CODED_FRAME_SIZE]; }; /***************************************************************************** * OpenEncoder: probe the encoder and return score *****************************************************************************/ static const uint16_t mpa_bitrate_tab[2][15] = { {0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384}, {0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160} }; static const uint16_t mpa_freq_tab[6] = { 44100, 48000, 32000, 22050, 24000, 16000 }; static int OpenEncoder( vlc_object_t *p_this ) { encoder_t *p_enc = (encoder_t *)p_this; encoder_sys_t *p_sys; int i_frequency; if( p_enc->fmt_out.i_codec != VLC_CODEC_MP2 && p_enc->fmt_out.i_codec != VLC_CODEC_MPGA && p_enc->fmt_out.i_codec != VLC_FOURCC( 'm', 'p', '2', 'a' ) && !p_enc->obj.force ) { return VLC_EGENERIC; } if( p_enc->fmt_in.audio.i_channels > 2 ) { msg_Err( p_enc, "doesn't support > 2 channels" ); return VLC_EGENERIC; } for ( i_frequency = 0; i_frequency < 6; i_frequency++ ) { if ( p_enc->fmt_out.audio.i_rate == mpa_freq_tab[i_frequency] ) break; } if ( i_frequency == 6 ) { msg_Err( p_enc, "MPEG audio doesn't support frequency=%d", p_enc->fmt_out.audio.i_rate ); return VLC_EGENERIC; } /* Allocate the memory needed to store the decoder's structure */ if( ( p_sys = (encoder_sys_t *)malloc(sizeof(encoder_sys_t)) ) == NULL ) return VLC_ENOMEM; p_enc->p_sys = p_sys; p_enc->fmt_in.i_codec = VLC_CODEC_S16N; p_enc->fmt_out.i_cat = AUDIO_ES; p_enc->fmt_out.i_codec = VLC_CODEC_MPGA; config_ChainParse( p_enc, ENC_CFG_PREFIX, ppsz_enc_options, p_enc->p_cfg ); p_sys->p_twolame = twolame_init(); /* Set options */ twolame_set_in_samplerate( p_sys->p_twolame, p_enc->fmt_out.audio.i_rate ); twolame_set_out_samplerate( p_sys->p_twolame, p_enc->fmt_out.audio.i_rate ); if( var_GetBool( p_enc, ENC_CFG_PREFIX "vbr" ) ) { float f_quality = var_GetFloat( p_enc, ENC_CFG_PREFIX "quality" ); if ( f_quality > 50.f ) f_quality = 50.f; if ( f_quality < 0.f ) f_quality = 0.f; twolame_set_VBR( p_sys->p_twolame, 1 ); twolame_set_VBR_q( p_sys->p_twolame, f_quality ); } else { int i; for ( i = 1; i < 14; i++ ) { if ( p_enc->fmt_out.i_bitrate / 1000 <= mpa_bitrate_tab[i_frequency / 3][i] ) break; } if ( p_enc->fmt_out.i_bitrate / 1000 != mpa_bitrate_tab[i_frequency / 3][i] ) { msg_Warn( p_enc, "MPEG audio doesn't support bitrate=%d, using %d", p_enc->fmt_out.i_bitrate, mpa_bitrate_tab[i_frequency / 3][i] * 1000 ); p_enc->fmt_out.i_bitrate = mpa_bitrate_tab[i_frequency / 3][i] * 1000; } twolame_set_bitrate( p_sys->p_twolame, p_enc->fmt_out.i_bitrate / 1000 ); } if ( p_enc->fmt_in.audio.i_channels == 1 ) { twolame_set_num_channels( p_sys->p_twolame, 1 ); twolame_set_mode( p_sys->p_twolame, TWOLAME_MONO ); } else { twolame_set_num_channels( p_sys->p_twolame, 2 ); switch( var_GetInteger( p_enc, ENC_CFG_PREFIX "mode" ) ) { case 1: twolame_set_mode( p_sys->p_twolame, TWOLAME_DUAL_CHANNEL ); break; case 2: twolame_set_mode( p_sys->p_twolame, TWOLAME_JOINT_STEREO ); break; case 0: default: twolame_set_mode( p_sys->p_twolame, TWOLAME_STEREO ); break; } } twolame_set_psymodel( p_sys->p_twolame, var_GetInteger( p_enc, ENC_CFG_PREFIX "psy" ) ); if ( twolame_init_params( p_sys->p_twolame ) ) { msg_Err( p_enc, "twolame initialization failed" ); return -VLC_EGENERIC; } p_enc->pf_encode_audio = Encode; p_sys->i_nb_samples = 0; return VLC_SUCCESS; } /**************************************************************************** * Encode: the whole thing **************************************************************************** * This function spits out MPEG packets. ****************************************************************************/ static void Bufferize( encoder_t *p_enc, int16_t *p_in, int i_nb_samples ) { encoder_sys_t *p_sys = p_enc->p_sys; const unsigned i_offset = p_sys->i_nb_samples * p_enc->fmt_in.audio.i_channels; const unsigned i_len = ARRAY_SIZE(p_sys->p_buffer); if( i_offset >= i_len ) { msg_Err( p_enc, "buffer full" ); return; } unsigned i_copy = i_nb_samples * p_enc->fmt_in.audio.i_channels; if( i_copy + i_offset > i_len) { msg_Err( p_enc, "dropping samples" ); i_copy = i_len - i_offset; } memcpy( p_sys->p_buffer + i_offset, p_in, i_copy * sizeof(int16_t) ); } static block_t *Encode( encoder_t *p_enc, block_t *p_aout_buf ) { encoder_sys_t *p_sys = p_enc->p_sys; block_t *p_chain = NULL; if( unlikely( !p_aout_buf ) ) { int i_used = 0; block_t *p_block; i_used = twolame_encode_flush( p_sys->p_twolame, p_sys->p_out_buffer, MAX_CODED_FRAME_SIZE ); if( i_used <= 0 ) return NULL; p_block = block_Alloc( i_used ); if( !p_block ) return NULL; memcpy( p_block->p_buffer, p_sys->p_out_buffer, i_used ); p_block->i_length = CLOCK_FREQ * (mtime_t)MPEG_FRAME_SIZE / (mtime_t)p_enc->fmt_out.audio.i_rate; p_block->i_dts = p_block->i_pts = p_sys->i_pts; p_sys->i_pts += p_block->i_length; return p_block; } int16_t *p_buffer = (int16_t *)p_aout_buf->p_buffer; int i_nb_samples = p_aout_buf->i_nb_samples; p_sys->i_pts = p_aout_buf->i_pts - (mtime_t)1000000 * (mtime_t)p_sys->i_nb_samples / (mtime_t)p_enc->fmt_out.audio.i_rate; while ( p_sys->i_nb_samples + i_nb_samples >= MPEG_FRAME_SIZE ) { int i_used; block_t *p_block; Bufferize( p_enc, p_buffer, MPEG_FRAME_SIZE - p_sys->i_nb_samples ); i_nb_samples -= MPEG_FRAME_SIZE - p_sys->i_nb_samples; p_buffer += (MPEG_FRAME_SIZE - p_sys->i_nb_samples) * 2; i_used = twolame_encode_buffer_interleaved( p_sys->p_twolame, p_sys->p_buffer, MPEG_FRAME_SIZE, p_sys->p_out_buffer, MAX_CODED_FRAME_SIZE ); /* On error, buffer samples and return what was already encoded */ if( i_used < 0 ) { msg_Err( p_enc, "encoder error: %d", i_used ); break; } p_sys->i_nb_samples = 0; p_block = block_Alloc( i_used ); if( !p_block ) { if( p_chain ) block_ChainRelease( p_chain ); return NULL; } memcpy( p_block->p_buffer, p_sys->p_out_buffer, i_used ); p_block->i_length = CLOCK_FREQ * (mtime_t)MPEG_FRAME_SIZE / (mtime_t)p_enc->fmt_out.audio.i_rate; p_block->i_dts = p_block->i_pts = p_sys->i_pts; p_sys->i_pts += p_block->i_length; block_ChainAppend( &p_chain, p_block ); } if ( i_nb_samples ) { Bufferize( p_enc, p_buffer, i_nb_samples ); p_sys->i_nb_samples += i_nb_samples; } return p_chain; } /***************************************************************************** * CloseEncoder: twolame encoder destruction *****************************************************************************/ static void CloseEncoder( vlc_object_t *p_this ) { encoder_t *p_enc = (encoder_t *)p_this; encoder_sys_t *p_sys = p_enc->p_sys; twolame_close( &p_sys->p_twolame ); free( p_sys ); }
34.038567
83
0.554548
57555672de741d21a0abea7bf0b28ac7216fd2c3
2,554
h
C
wc3/libwww/Library/src/acconfig.h
Uvacoder/html-demo-code-and-experiments
1bd2ab50afe8f331396c37822301afa8e4903bcd
[ "Apache-2.0" ]
3
2021-11-15T07:54:37.000Z
2021-11-29T03:09:12.000Z
wc3/libwww/Library/src/acconfig.h
Uvacoder/html-demo-code-and-experiments
1bd2ab50afe8f331396c37822301afa8e4903bcd
[ "Apache-2.0" ]
26
2021-11-15T04:26:39.000Z
2021-11-17T00:17:06.000Z
wc3/libwww/Library/src/acconfig.h
Uvacoder/html-demo-code-and-experiments
1bd2ab50afe8f331396c37822301afa8e4903bcd
[ "Apache-2.0" ]
null
null
null
/* Always define this. */ #undef DEBUG /* Define to enable multithreading code. */ #undef EVENT_LOOP /* Define to enable direct WAIS access. */ #undef DIRECT_WAIS /* Define to enable SOCKS firewall-breaching code. */ #undef SOCKS /* Define this to be the version string. */ #undef VC /* Define this to be the prefix for cache files. */ #undef CACHE_FILE_PREFIX /* Define this if the platform uses EBCDIC instead of ASCII. */ #undef NOT_ASCII /* Define this if globals are limited to 8 characters. */ #undef SHORT_NAMES /* Define this if a typedef'd function definition may not be preceeded by its ``extern'' declaration. */ #undef NO_EXTERN_TYPEDEF_FUNC /* Define this if the compiler doesn't like pointers to undefined structs. */ #undef NO_PTR_UNDEF_STRUCT /* Define this if it's not typedef'd automatically. */ #undef BOOLEAN /* Define this to be the location of the resolver configuration file. */ #undef RESOLV_CONF /* Define this to be the rlogin program name. */ #undef RLOGIN_PROGRAM /* Define this to be the telnet program name. */ #undef TELNET_PROGRAM /* Define this to be the tn3270 program name. */ #undef TN3270_PROGRAM /* Define this if your telnet accepts the -l <username> option */ #undef TELNET_MINUS_L /* Define this if you must call accept(2) on nonblocking sockets for the remote connect(2) call to complete. */ #undef WEIRD_ACCEPT /* Define this if it isn't in the header files. */ #undef u_char /* Define this if it isn't in the header files. */ #undef u_short /* Define this if it isn't in the header files. */ #undef u_long @BOTTOM@ /* Define this if it is not typedef'd automatically. */ #undef fd_set /* Define this to be blank if your compiler doesn't grok 'volatile'. */ #undef volatile /* Define this to be blank if your compiler doesn't grok 'noshare'. */ #undef noshare /* Define this if you have the external variable 'socket_errno'. */ #undef HAVE_SOCKET_ERRNO /* Define this if you have the external variable 'sys_errlist'. */ #undef HAVE_SYS_ERRLIST /* Define this if you have the external variable 'sys_nerr'. */ #undef HAVE_SYS_NERR /* Define this if you have the external variable 'vaxc$errno'. */ #undef HAVE_VAXC_ERRNO /* Define this if you have the uxc$inetdef.h header file. */ #undef HAVE_UXC_INETDEF_H /* Define this if directory entries have inodes. */ #undef HAVE_DIRENT_INO /* Define this if sys_errlist must be declared (if it exists). */ #undef NEED_SYS_ERRLIST_DECLARED /* Define this if sys_nerr must be declared (if it exists). */ #undef NEED_SYS_NERR_DECLARED
26.061224
77
0.737275
073bf0f938eb406b543902f1e7a98812571db7c8
2,211
asm
Assembly
engine/phone/scripts/tiffany.asm
Trap-Master/spacworld97-thingy
a144827abecacdfec6cdc3baa32098e9290adf70
[ "blessing" ]
null
null
null
engine/phone/scripts/tiffany.asm
Trap-Master/spacworld97-thingy
a144827abecacdfec6cdc3baa32098e9290adf70
[ "blessing" ]
null
null
null
engine/phone/scripts/tiffany.asm
Trap-Master/spacworld97-thingy
a144827abecacdfec6cdc3baa32098e9290adf70
[ "blessing" ]
null
null
null
TiffanyPhoneCalleeScript: gettrainername STRING_BUFFER_3, PICNICKER, TIFFANY3 checkflag ENGINE_TIFFANY iftrue .WantsBattle farscall PhoneScript_AnswerPhone_Female checkflag ENGINE_TIFFANY_TUESDAY_AFTERNOON iftrue .NotTuesday checkflag ENGINE_TIFFANY_HAS_PINK_BOW iftrue .HasItem readvar VAR_WEEKDAY ifnotequal TUESDAY, .NotTuesday checktime DAY iftrue TiffanyTuesdayAfternoon .NotTuesday: farsjump UnknownScript_0xa09a0 .WantsBattle: getlandmarkname STRING_BUFFER_5, ROUTE_101 farsjump UnknownScript_0xa0a8c .HasItem: getlandmarkname STRING_BUFFER_5, ROUTE_101 farsjump UnknownScript_0xa0ae5 TiffanyPhoneCallerScript: gettrainername STRING_BUFFER_3, PICNICKER, TIFFANY3 farscall PhoneScript_Random4 ifequal 0, TiffanysFamilyMembers farscall PhoneScript_GreetPhone_Female checkflag ENGINE_TIFFANY iftrue .Generic checkflag ENGINE_TIFFANY_TUESDAY_AFTERNOON iftrue .Generic checkflag ENGINE_TIFFANY_HAS_PINK_BOW iftrue .Generic farscall PhoneScript_Random3 ifequal 0, TiffanyWantsBattle checkevent EVENT_TIFFANY_GAVE_PINK_BOW iftrue .PinkBow farscall PhoneScript_Random2 ifequal 0, TiffanyHasPinkBow .PinkBow: farscall PhoneScript_Random11 ifequal 0, TiffanyHasPinkBow .Generic: farsjump Phone_GenericCall_Female TiffanyTuesdayAfternoon: setflag ENGINE_TIFFANY_TUESDAY_AFTERNOON TiffanyWantsBattle: getlandmarkname STRING_BUFFER_5, ROUTE_101 setflag ENGINE_TIFFANY farsjump PhoneScript_WantsToBattle_Female TiffanysFamilyMembers: random 6 ifequal 0, .Grandma ifequal 1, .Grandpa ifequal 2, .Mom ifequal 3, .Dad ifequal 4, .Sister ifequal 5, .Brother .Grandma: getstring STRING_BUFFER_4, GrandmaString sjump .PoorClefairy .Grandpa: getstring STRING_BUFFER_4, GrandpaString sjump .PoorClefairy .Mom: getstring STRING_BUFFER_4, MomString sjump .PoorClefairy .Dad: getstring STRING_BUFFER_4, DadString sjump .PoorClefairy .Sister: getstring STRING_BUFFER_4, SisterString sjump .PoorClefairy .Brother: getstring STRING_BUFFER_4, BrotherString sjump .PoorClefairy .PoorClefairy: farsjump TiffanyItsAwful TiffanyHasPinkBow: setflag ENGINE_TIFFANY_HAS_PINK_BOW getlandmarkname STRING_BUFFER_5, ROUTE_101 farsjump PhoneScript_FoundItem_Female
22.333333
52
0.85346
3b7ca3e3dbd64b811c2ad3d7fba6bd234f81b9fa
5,687
c
C
sc-kpm/scp/scp_lib/scp_iterator3.c
irinagrigorjewa/sc-machine
732434a179711d8e49066723bd994309235b9ab0
[ "MIT" ]
13
2016-11-15T07:22:51.000Z
2021-10-02T10:11:09.000Z
sc-kpm/scp/scp_lib/scp_iterator3.c
irinagrigorjewa/sc-machine
732434a179711d8e49066723bd994309235b9ab0
[ "MIT" ]
136
2016-11-08T20:29:39.000Z
2021-11-27T14:14:29.000Z
sc-kpm/scp/scp_lib/scp_iterator3.c
irinagrigorjewa/sc-machine
732434a179711d8e49066723bd994309235b9ab0
[ "MIT" ]
23
2015-04-18T15:11:56.000Z
2021-12-21T14:43:22.000Z
/* ----------------------------------------------------------------------------- This source file is part of OSTIS (Open Semantic Technology for Intelligent Systems) For the latest info, see http://www.ostis.net Copyright (c) 2010-2013 OSTIS OSTIS is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OSTIS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with OSTIS. If not, see <http://www.gnu.org/licenses/>. ----------------------------------------------------------------------------- */ #include "sc_memory_headers.h" #include "scp_iterator3.h" #include "scp_utils.h" scp_iterator3 *scp_iterator3_new(sc_memory_context *context, scp_operand *param1, scp_operand *param2, scp_operand *param3) { sc_uint32 fixed1 = 0; sc_uint32 fixed3 = 0; sc_uint32 fixed = 0; if (param2->param_type == SCP_FIXED) { print_error("SCP ITERATOR 3 NEW", "Parameter 2 must have ASSIGN modifier"); return null_ptr; } if (param1->param_type == SCP_FIXED) { if (SC_FALSE == sc_memory_is_element(context, param1->addr)) { print_error("SCP ITERATOR 3 NEW", "Parameter 1 has modifier FIXED, but has not value"); return null_ptr; } fixed1 = 0x1; } if (param3->param_type == SCP_FIXED) { if (SC_FALSE == sc_memory_is_element(context, param3->addr)) { print_error("SCP ITERATOR 3 NEW", "Parameter 3 has modifier FIXED, but has not value"); return null_ptr; } fixed3 = 0x100; } fixed = (fixed1 | fixed3); switch (fixed) { case 0x001: return (scp_iterator3 *)sc_iterator3_f_a_a_new(context, param1->addr, param2->element_type, param3->element_type); case 0x100: return (scp_iterator3 *)sc_iterator3_a_a_f_new(context, param1->element_type, param2->element_type, param3->addr); case 0x101: return (scp_iterator3 *)sc_iterator3_f_a_f_new(context, param1->addr, param2->element_type, param3->addr); default: print_error("SCP ITERATOR 3 NEW", "Unsupported parameter type combination"); return null_ptr; } return null_ptr; } scp_result scp_iterator3_next(sc_memory_context *context, scp_iterator3 *iter, scp_operand *param1, scp_operand *param2, scp_operand *param3) { sc_uint32 fixed1 = 0; sc_uint32 fixed2 = 0; sc_uint32 fixed3 = 0; sc_uint32 fixed = 0; if (param2->param_type == SCP_FIXED) { return print_error("SCP ITERATOR 3 NEXT", "Parameter 2 must have ASSIGN modifier"); } if (param1->param_type == SCP_FIXED) { if (SC_FALSE == sc_memory_is_element(context, param1->addr)) { return print_error("SCP ITERATOR 3 NEXT", "Parameter 1 has modifier FIXED, but has not value"); } fixed1 = 0x1; } if (param3->param_type == SCP_FIXED) { if (SC_FALSE == sc_memory_is_element(context, param3->addr)) { return print_error("SCP ITERATOR 3 NEXT", "Parameter 3 has modifier FIXED, but has not value"); } fixed3 = 0x100; } fixed = (fixed1 | fixed2 | fixed3); switch (fixed) { case 0x001: if (iter->type != sc_iterator3_f_a_a) { return print_error("SCP ITERATOR 3 NEXT", "Iterator type and parameter type combination doesn't match"); } else { if (SC_TRUE == sc_iterator3_next(iter)) { param2->addr = sc_iterator3_value(iter, 1); param3->addr = sc_iterator3_value(iter, 2); return SCP_RESULT_TRUE; } else { return SCP_RESULT_FALSE; } } case 0x100: if (iter->type != sc_iterator3_a_a_f) { return print_error("SCP ITERATOR 3 NEXT", "Iterator type and parameter type combination doesn't match"); } else { if (SC_TRUE == sc_iterator3_next(iter)) { param1->addr = sc_iterator3_value(iter, 0); param2->addr = sc_iterator3_value(iter, 1); return SCP_RESULT_TRUE; } else { return SCP_RESULT_FALSE; } } case 0x101: if (iter->type != sc_iterator3_f_a_f) { return print_error("SCP ITERATOR 3 NEXT", "Iterator type and parameter type combination doesn't match"); } else { if (SC_TRUE == sc_iterator3_next(iter)) { param2->addr = sc_iterator3_value(iter, 1); return SCP_RESULT_TRUE; } else { return SCP_RESULT_FALSE; } } default: return print_error("SCP ITERATOR 3 NEXT", "Unsupported parameter type combination"); } return SCP_RESULT_ERROR; } void scp_iterator3_free(scp_iterator3 *iter) { sc_iterator3_free(iter); }
34.676829
141
0.56761
fb2c885c08cc9d7c61fc9798ed2675ae3535e38f
8,420
go
Go
server/sqlstore/migrations.go
Manimaran11/mattermost-plugin-incident-response
4aa1ef166aecb881a27239a5f6e3bdfaf9c31802
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
server/sqlstore/migrations.go
Manimaran11/mattermost-plugin-incident-response
4aa1ef166aecb881a27239a5f6e3bdfaf9c31802
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
server/sqlstore/migrations.go
Manimaran11/mattermost-plugin-incident-response
4aa1ef166aecb881a27239a5f6e3bdfaf9c31802
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
package sqlstore import ( "encoding/json" "fmt" sq "github.com/Masterminds/squirrel" "github.com/blang/semver" "github.com/jmoiron/sqlx" "github.com/mattermost/mattermost-plugin-incident-response/server/playbook" "github.com/mattermost/mattermost-server/v5/model" "github.com/pkg/errors" ) type Migration struct { fromVersion semver.Version toVersion semver.Version migrationFunc func(sqlx.Ext, *SQLStore) error } var migrations = []Migration{ { fromVersion: semver.MustParse("0.0.0"), toVersion: semver.MustParse("0.1.0"), migrationFunc: func(e sqlx.Ext, sqlStore *SQLStore) error { if _, err := e.Exec(` CREATE TABLE IF NOT EXISTS IR_System ( SKey VARCHAR(64) PRIMARY KEY, SValue VARCHAR(1024) NULL ); `); err != nil { return errors.Wrapf(err, "failed creating table IR_System") } if e.DriverName() == model.DATABASE_DRIVER_MYSQL { charset := "DEFAULT CHARACTER SET utf8mb4" if _, err := e.Exec(` CREATE TABLE IF NOT EXISTS IR_Incident ( ID VARCHAR(26) PRIMARY KEY, Name VARCHAR(1024) NOT NULL, Description VARCHAR(4096) NOT NULL, IsActive BOOLEAN NOT NULL, CommanderUserID VARCHAR(26) NOT NULL, TeamID VARCHAR(26) NOT NULL, ChannelID VARCHAR(26) NOT NULL UNIQUE, CreateAt BIGINT NOT NULL, EndAt BIGINT NOT NULL DEFAULT 0, DeleteAt BIGINT NOT NULL DEFAULT 0, ActiveStage BIGINT NOT NULL, PostID VARCHAR(26) NOT NULL DEFAULT '', PlaybookID VARCHAR(26) NOT NULL DEFAULT '', ChecklistsJSON TEXT NOT NULL, INDEX IR_Incident_TeamID (TeamID), INDEX IR_Incident_TeamID_CommanderUserID (TeamID, CommanderUserID), INDEX IR_Incident_ChannelID (ChannelID) ) ` + charset); err != nil { return errors.Wrapf(err, "failed creating table IR_Incident") } if _, err := e.Exec(` CREATE TABLE IF NOT EXISTS IR_Playbook ( ID VARCHAR(26) PRIMARY KEY, Title VARCHAR(1024) NOT NULL, Description VARCHAR(4096) NOT NULL, TeamID VARCHAR(26) NOT NULL, CreatePublicIncident BOOLEAN NOT NULL, CreateAt BIGINT NOT NULL, DeleteAt BIGINT NOT NULL DEFAULT 0, ChecklistsJSON TEXT NOT NULL, NumStages BIGINT NOT NULL DEFAULT 0, NumSteps BIGINT NOT NULL DEFAULT 0, INDEX IR_Playbook_TeamID (TeamID), INDEX IR_PlaybookMember_PlaybookID (ID) ) ` + charset); err != nil { return errors.Wrapf(err, "failed creating table IR_Playbook") } if _, err := e.Exec(` CREATE TABLE IF NOT EXISTS IR_PlaybookMember ( PlaybookID VARCHAR(26) NOT NULL REFERENCES IR_Playbook(ID), MemberID VARCHAR(26) NOT NULL, INDEX IR_PlaybookMember_PlaybookID (PlaybookID), INDEX IR_PlaybookMember_MemberID (MemberID) ) ` + charset); err != nil { return errors.Wrapf(err, "failed creating table IR_PlaybookMember") } } else { if _, err := e.Exec(` CREATE TABLE IF NOT EXISTS IR_Incident ( ID TEXT PRIMARY KEY, Name TEXT NOT NULL, Description TEXT NOT NULL, IsActive BOOLEAN NOT NULL, CommanderUserID TEXT NOT NULL, TeamID TEXT NOT NULL, ChannelID TEXT NOT NULL UNIQUE, CreateAt BIGINT NOT NULL, EndAt BIGINT NOT NULL DEFAULT 0, DeleteAt BIGINT NOT NULL DEFAULT 0, ActiveStage BIGINT NOT NULL, PostID TEXT NOT NULL DEFAULT '', PlaybookID TEXT NOT NULL DEFAULT '', ChecklistsJSON JSON NOT NULL ); `); err != nil { return errors.Wrapf(err, "failed creating table IR_Incident") } if _, err := e.Exec(` CREATE TABLE IF NOT EXISTS IR_Playbook ( ID TEXT PRIMARY KEY, Title TEXT NOT NULL, Description TEXT NOT NULL, TeamID TEXT NOT NULL, CreatePublicIncident BOOLEAN NOT NULL, CreateAt BIGINT NOT NULL, DeleteAt BIGINT NOT NULL DEFAULT 0, ChecklistsJSON JSON NOT NULL, NumStages BIGINT NOT NULL DEFAULT 0, NumSteps BIGINT NOT NULL DEFAULT 0 ); `); err != nil { return errors.Wrapf(err, "failed creating table IR_Playbook") } if _, err := e.Exec(` CREATE TABLE IF NOT EXISTS IR_PlaybookMember ( PlaybookID TEXT NOT NULL REFERENCES IR_Playbook(ID), MemberID TEXT NOT NULL, UNIQUE (PlaybookID, MemberID) ); `); err != nil { return errors.Wrapf(err, "failed creating table IR_PlaybookMember") } // 'IF NOT EXISTS' syntax is not supported in 9.4, so we need // this workaround to make the migration idempotent createIndex := func(indexName, tableName, columns string) string { return fmt.Sprintf(` DO $$ BEGIN IF to_regclass('%s') IS NULL THEN CREATE INDEX %s ON %s (%s); END IF; END $$; `, indexName, indexName, tableName, columns) } if _, err := e.Exec(createIndex("IR_Incident_TeamID", "IR_Incident", "TeamID")); err != nil { return errors.Wrapf(err, "failed creating index IR_Incident_TeamID") } if _, err := e.Exec(createIndex("IR_Incident_TeamID_CommanderUserID", "IR_Incident", "TeamID, CommanderUserID")); err != nil { return errors.Wrapf(err, "failed creating index IR_Incident_TeamID_CommanderUserID") } if _, err := e.Exec(createIndex("IR_Incident_ChannelID", "IR_Incident", "ChannelID")); err != nil { return errors.Wrapf(err, "failed creating index IR_Incident_ChannelID") } if _, err := e.Exec(createIndex("IR_Playbook_TeamID", "IR_Playbook", "TeamID")); err != nil { return errors.Wrapf(err, "failed creating index IR_Playbook_TeamID") } if _, err := e.Exec(createIndex("IR_PlaybookMember_PlaybookID", "IR_PlaybookMember", "PlaybookID")); err != nil { return errors.Wrapf(err, "failed creating index IR_PlaybookMember_PlaybookID") } if _, err := e.Exec(createIndex("IR_PlaybookMember_MemberID", "IR_PlaybookMember", "MemberID")); err != nil { return errors.Wrapf(err, "failed creating index IR_PlaybookMember_MemberID ") } } return nil }, }, { fromVersion: semver.MustParse("0.1.0"), toVersion: semver.MustParse("0.2.0"), migrationFunc: func(e sqlx.Ext, sqlStore *SQLStore) error { // prior to v1.0.0 of the plugin, this migration was used to trigger the data migration from the kvstore return nil }, }, { fromVersion: semver.MustParse("0.2.0"), toVersion: semver.MustParse("0.3.0"), migrationFunc: func(e sqlx.Ext, sqlStore *SQLStore) error { if e.DriverName() == model.DATABASE_DRIVER_MYSQL { if _, err := e.Exec("ALTER TABLE IR_Incident ADD ActiveStageTitle VARCHAR(1024) DEFAULT ''"); err != nil { return errors.Wrapf(err, "failed adding column ActiveStageTitle to table IR_Incident") } } else { if _, err := e.Exec("ALTER TABLE IR_Incident ADD ActiveStageTitle TEXT DEFAULT ''"); err != nil { return errors.Wrapf(err, "failed adding column ActiveStageTitle to table IR_Incident") } } getIncidentsQuery := sqlStore.builder. Select("ID", "ActiveStage", "ChecklistsJSON"). From("IR_Incident") var incidents []struct { ID string ActiveStage int ChecklistsJSON json.RawMessage } if err := sqlStore.selectBuilder(e, &incidents, getIncidentsQuery); err != nil { return errors.Wrapf(err, "failed getting incidents to update their ActiveStageTitle") } for _, theIncident := range incidents { var checklists []playbook.Checklist if err := json.Unmarshal(theIncident.ChecklistsJSON, &checklists); err != nil { return errors.Wrapf(err, "failed to unmarshal checklists json for incident id: '%s'", theIncident.ID) } numChecklists := len(checklists) if numChecklists == 0 { continue } if theIncident.ActiveStage < 0 || theIncident.ActiveStage >= numChecklists { sqlStore.log.Warnf("index %d out of bounds, incident '%s' has %d stages: setting ActiveStageTitle to the empty string", theIncident.ActiveStage, theIncident.ID, numChecklists) continue } incidentUpdate := sqlStore.builder. Update("IR_Incident"). Set("ActiveStageTitle", checklists[theIncident.ActiveStage].Title). Where(sq.Eq{"ID": theIncident.ID}) if _, err := sqlStore.execBuilder(e, incidentUpdate); err != nil { return errors.Errorf("failed updating the ActiveStageTitle field of incident '%s'", theIncident.ID) } } return nil }, }, }
33.815261
180
0.669002
84b514b0b1213eb5f04436d2f2e46fd222819eb8
2,254
h
C
src/knotificationjobuidelegate.h
pasnox/knotifications
ef2871b2a485be5abe393e61c6cd93867420f896
[ "BSD-3-Clause" ]
null
null
null
src/knotificationjobuidelegate.h
pasnox/knotifications
ef2871b2a485be5abe393e61c6cd93867420f896
[ "BSD-3-Clause" ]
null
null
null
src/knotificationjobuidelegate.h
pasnox/knotifications
ef2871b2a485be5abe393e61c6cd93867420f896
[ "BSD-3-Clause" ]
null
null
null
/* This file is part of the KDE Frameworks Copyright (C) 2020 Kai Uwe Broulik <kde@broulik.de> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef KNOTIFICATIONJOBUIDELEGATE_H #define KNOTIFICATIONJOBUIDELEGATE_H #include <kjobuidelegate.h> #include <QScopedPointer> #include <knotifications_export.h> class KNotificationJobUiDelegatePrivate; /** * @class KNotificationJobUiDelegate knotificationjobuidelegate.h KNotificationJobUiDelegate * * A UI delegate using KNotification for interaction (showing errors and warnings). * * @since 5.69 */ class KNOTIFICATIONS_EXPORT KNotificationJobUiDelegate : public KJobUiDelegate { Q_OBJECT public: /** * Constructs a new KNotificationJobUiDelegate. */ KNotificationJobUiDelegate(); /** * Constructs a new KNotificationJobUiDelegate. * @param flags allows to enable automatic error/warning handling * @since 5.70 */ explicit KNotificationJobUiDelegate(KJobUiDelegate::Flags flags); // KF6 TODO merge with default constructor, using AutoHandlingDisabled as default value /** * Destroys the KNotificationJobUiDelegate. */ ~KNotificationJobUiDelegate() override; public: /** * Display a notification to inform the user of the error given by * this job. */ void showErrorMessage() override; protected Q_SLOTS: bool setJob(KJob *job) override; void slotWarning(KJob *job, const QString &plain, const QString &rich) override; private: QScopedPointer<KNotificationJobUiDelegatePrivate> d; }; #endif // KNOTIFICATIONJOBUIDELEGATE_H
30.053333
157
0.74756
f00ff90a15569e736314d9e7505d121e6996f894
4,216
py
Python
json_replacer.py
MrMusicMan/json-item-replacer
04362b5e5ecf3cf9dd12ef3e72a7a1474a5239fa
[ "Apache-2.0" ]
null
null
null
json_replacer.py
MrMusicMan/json-item-replacer
04362b5e5ecf3cf9dd12ef3e72a7a1474a5239fa
[ "Apache-2.0" ]
null
null
null
json_replacer.py
MrMusicMan/json-item-replacer
04362b5e5ecf3cf9dd12ef3e72a7a1474a5239fa
[ "Apache-2.0" ]
null
null
null
import os import json import string from tkinter import filedialog, simpledialog from tkinter import * class CsvImporter(object): def __init__(self): self.csv_data = None self.languages = [] def import_csv(self, csv_filename): with open(csv_filename, 'r') as file: self.csv_data = {} for key, line in enumerate(file): # Create list of line item. line_items = [x.strip() for x in line.split(',')] # Header row? if key == 0: # Create dictionaries for each language, except the first. self.languages = line_items[1:] for language in self.languages: self.csv_data[language] = {} else: # Populate each language's dictionary. for key, language in enumerate(self.languages): try: # Key from first column, value from next. self.csv_data[language].update({ line_items[0]: line_items[key + 1] }) except IndexError: # Sometimes, no item is expected. pass return self.csv_data class JsonEditor(object): def import_json(self, json_filename): # Bring JSON in as an object. with open(json_filename) as file: json_data = json.load(file) return json_data def export_new_json(self, output_filename, json_data): # Save the JSON object as a file. f = open(output_filename, "w") json_data = json.dumps(json_data) f.write(json_data) f.close() return def update_json(self, input_json, target_key, target_value, update_value): # Duplicate input_json for modification. output_json = input_json if isinstance(input_json, dict): # Loop through dictionary, searching for target_key, target_value # and update output_json if there is an update_value for key, value in input_json.items(): if key == target_key: if target_value == value: if update_value: output_json[key] = update_value # If we run into a list or another dictionary, recurse. self.update_json(input_json[key], target_key, target_value, update_value) elif isinstance(input_json, list): # Loop through list, searching for lists and dictionaries. for entity in input_json: # Recurse through any new list or dictionary. self.update_json(entity, target_key, target_value, update_value) return output_json if __name__ == '__main__': root = Tk() root.csv_filename = filedialog.askopenfilename( title="Select CSV file with translations", filetypes=(("CSV Files", "*.csv"),) ) root.json_filename = filedialog.askopenfilename( title="Select master JSON file to build tranlated JSON files", filetypes=(("JSON Files","*.json"),("All Files", "*.*")) ) target_key = simpledialog.askstring( "Input", "What is the target key for the values we are replacing?", initialvalue="title" ) base_output_filename = simpledialog.askstring( "Input", "What would you like the base file to be named?" ) # Import CSV. csv = CsvImporter() csv_data = csv.import_csv(root.csv_filename) # Import JSON. make_json = JsonEditor() # Make changes per language. for language in csv_data: # Edit JSON. input_json = make_json.import_json(root.json_filename) for key, value in csv_data[language].items(): updated_json = make_json.update_json(input_json, target_key, key, value) # Create filename per language. language_filename = base_output_filename + "_" + language + ".json" made_json = make_json.export_new_json(language_filename, updated_json) # Finished. print("Success!")
34.842975
89
0.57851
427ca624ff1177d0526e32c79a2dd113db63dbec
436
asm
Assembly
oeis/333/A333695.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/333/A333695.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/333/A333695.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A333695: Numerators of coefficients in expansion of Sum_{k>=1} phi(k) * log(1/(1 - x^k)). ; Submitted by Christian Krause ; 1,3,7,11,21,7,43,43,61,63,111,77,157,129,49,171,273,61,343,231,43,333,507,301,521,471,547,473,813,147,931,683,259,819,129,671,1333,1029,1099,903,1641,43,1807,111,427,1521,2163,399,2101,1563,637,1727,2757,547,2331 mov $2,$0 seq $0,57660 ; a(n) = Sum_{k=1..n} n/gcd(n,k). mov $1,$0 add $2,1 gcd $1,$2 div $0,$1
39.636364
214
0.674312
b17f71aa063c7c9b6f811ab6a888349bc08c135c
809
css
CSS
renderer/pdfreader/index.css
GG2002/live2dpet-v4
6a67e7b34b87b406814d3acb98da4baf351b24a8
[ "CC0-1.0" ]
null
null
null
renderer/pdfreader/index.css
GG2002/live2dpet-v4
6a67e7b34b87b406814d3acb98da4baf351b24a8
[ "CC0-1.0" ]
null
null
null
renderer/pdfreader/index.css
GG2002/live2dpet-v4
6a67e7b34b87b406814d3acb98da4baf351b24a8
[ "CC0-1.0" ]
null
null
null
#pdf { margin: auto 0; margin-top: 2em; width: fit-content; column-gap: 30px; padding-left: 10px; } .pdf-list { width: 200px; box-sizing: content-box; padding: 5px; margin-top: 20px; box-shadow: 0 0px 5px #000; margin-bottom: 10px; display: inline-block; } .pdf-list:hover{ box-shadow: 0 0px 10px #000; } .pdf-title{ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; margin-top: 15px; margin-bottom: 5px; font-size: small; word-break: break-all; text-align: center; } .icon-change{ width: 100%; top: 0; padding-right: 10px; text-align: right; position: fixed; } .myicon{ display: inline-block; width: fit-content; }
20.225
141
0.619283
43bd985c839b7696f421c9a0e1f88769bad8924c
1,024
go
Go
interview_preparation_kit/linked_lists/insert_into_doubly_linked_list.go
mbauny/hackerrank
90d1ccc5a109093ba999756e56cc1ac419f5abef
[ "Unlicense" ]
null
null
null
interview_preparation_kit/linked_lists/insert_into_doubly_linked_list.go
mbauny/hackerrank
90d1ccc5a109093ba999756e56cc1ac419f5abef
[ "Unlicense" ]
null
null
null
interview_preparation_kit/linked_lists/insert_into_doubly_linked_list.go
mbauny/hackerrank
90d1ccc5a109093ba999756e56cc1ac419f5abef
[ "Unlicense" ]
null
null
null
// https://www.hackerrank.com/challenges/insert-a-node-into-a-sorted-doubly-linked-list package linkedlists // Complete the sortedInsert function below. type DoublyLinkedListNode struct { data int32 next *DoublyLinkedListNode prev *DoublyLinkedListNode } func sortedInsert(head *DoublyLinkedListNode, data int32) *DoublyLinkedListNode { newNode := &DoublyLinkedListNode{ data: data, } // empty list if head == nil { return newNode } // must insert at the head of the list if head.data > newNode.data { newNode.next = head head.prev = newNode return newNode } current := head // at the end of the loop, current is either the end of the list // or the node after which the insertion should be done for current.next != nil && current.next.data < newNode.data { current = current.next } // At this point, current.next.data >= newNode.data newNode.next = current.next newNode.prev = current current.next = newNode if current.next != nil { current.next.prev = newNode } return head }
21.787234
87
0.724609
6547bff0921c0fa8bf1ae4180062d6c76818b672
3,553
py
Python
stochastic_hill_climbing/src/AdalineSGD.py
Wookhwang/Machine-Learning
8eaf8517057d4beb3272081cb2f2092687123f3d
[ "Apache-2.0" ]
null
null
null
stochastic_hill_climbing/src/AdalineSGD.py
Wookhwang/Machine-Learning
8eaf8517057d4beb3272081cb2f2092687123f3d
[ "Apache-2.0" ]
1
2020-01-19T10:14:41.000Z
2020-01-19T10:14:41.000Z
stochastic_hill_climbing/src/AdalineSGD.py
Wookhwang/Machine-Learning
8eaf8517057d4beb3272081cb2f2092687123f3d
[ "Apache-2.0" ]
null
null
null
import numpy as np # gradient descent는 tensorflow에 이미 구현이 되어있다. # 확률적 선형 뉴런 분석기는 각 훈련 샘플에 대해서 조금씩 가중치를 업데이트 한다. class AdalineSGD(object): """Adaptive Linear Neuron 분류기 매개변수 ------------ eta : float 학습률 (0.0과 1.0 사이) n_iter : int 훈련 데이터셋 반복 횟수 shuffle : bool (default true) True로 설정하면 같은 반복이 되지 않도록 에포크마다 훈련 데이터를 섞습니다. random_state : int 가중치 무작위 초기화를 위한 난수 생성기 시드 속성 ----------- w_ : 1d-array 학습된 가중치 cost_ : list 에포크마다 누적된 비용 함수의 제곱합 """ def __init__(self, eta=0.01, n_iter=10, suffle=True, random_state=None): self.eta = eta self.n_iter = n_iter self.suffle = suffle self.random_state = random_state self.w_initialize = False def fit(self, X, y): """훈련 데이터 학습 매개변수 ---------- X : {array-like}, shape = [n_samples, n_features] n_samples개의 샘플과 n_features개의 특성으로 이루어진 훈련 데이터 y : array-like, shape = [n_samples] 타깃값 반환값 ------- self : object """ # 언제나 그렇듯 fit()은 분류기 훈련용 # 대신에 확률적 분류기에서는 _initialized_weights()을 사용해 행 갯수 만큼 가중치를 초기화 self._initialized_weights(X.shape[1]) self.cost_ = [] for i in range(self.n_iter): # _suffle()을 사용해서 훈련 데이터를 섞어줌. True일 때만 if self.suffle: X, y = self._suffle(X, y) cost = [] # 가중치 업데이트 하고, cost도 update해준다. for xi, target in zip(X, y): cost.append(self._update_weights(xi, target)) # 평균 비용을 구해서 cost_ 리스트에 추가시켜준다. avg_cost = sum(cost) / len(y) self.cost_.append(avg_cost) return self # partial_fit()은 온라인 학습용으로 구현 함. # 지속적으로 업데이트 되는 훈련 셋이 들어올 때 사용 def partial_fit(self, X, y): """가중치를 다시 초기화하지 않고 훈련 데이터를 학습합니다.""" if not self.w_initialize: self._intialized_weights(X.shape[1]) if y.ravel().shape[0] > 1: for xi, target in zip(X, y): self._update_weights(xi, target) else: self._update_weights(X, y) return self def _suffle(self, X, y): """훈련 데이터를 섞음""" # permatation()을 통해 0~100까지 중복되지 않은 랜덤한 숫자 시퀸스를 생성 (y의 길이만큼) # 이 숫자 시퀸스는 특성 행렬과 클래스 레이블 백터를 섞는 인덱스로 활용 r = self.rgen.permutation(len(y)) return X[r], y[r] def _initialized_weights(self, m): """랜덤한 작은 수로 가중치를 초기화""" self.rgen = np.random.RandomState(self.random_state) self.w_ = self.rgen.normal(loc=0.0, scale=0.01, size=1+m) self.w_initialize = True def _update_weights(self, xi, target): """아달린 학습 규칙을 적용하여 가중치를 업데이트""" output = self.activation(self.net_input(xi)) error = (target - output) self.w_[1:] += self.eta * xi.dot(error) self.w_[0] += self.eta * error cost = 0.5 * error ** 2 return cost def net_input(self, X): """최종 입력 계산""" return np.dot(X, self.w_[1:]) + self.w_[0] # 단순 항등 함수 (단일층 시녕망을 통해 정보의 흐름을 표현 하기 위한 함수) def activation(self, X): """선형 활성화 계산""" return X def predict(self, X): """단위 계산 함수를 사용하여 클래스 테이블을 반환합니다.""" return np.where(self.activation(self.net_input(X)) >= 0.0, 1, -1) # 입력 데이터의 특성에서 최종 입력, 활성화, 출력 순으로 진행
30.110169
77
0.509992
2a08530a71692fefc3c821e1e90aac70f054ee99
5,261
java
Java
dev/ShopMall/src/com/yq/controller/CartCtrl.java
shi6265408/NewShop
2f2297cec2675c9973472a5979de2bfd5ae2625e
[ "0BSD" ]
null
null
null
dev/ShopMall/src/com/yq/controller/CartCtrl.java
shi6265408/NewShop
2f2297cec2675c9973472a5979de2bfd5ae2625e
[ "0BSD" ]
null
null
null
dev/ShopMall/src/com/yq/controller/CartCtrl.java
shi6265408/NewShop
2f2297cec2675c9973472a5979de2bfd5ae2625e
[ "0BSD" ]
null
null
null
package com.yq.controller; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.servlet.ModelAndView; import com.google.gson.Gson; import com.yq.entity.Cart; import com.yq.entity.User; import com.yq.service.CartService; import com.yq.service.UserService; import com.yq.util.StringUtil; @Controller @RequestMapping public class CartCtrl extends StringUtil{ @Autowired private CartService cartService; @Autowired private UserService userService; private static Gson gson=new Gson(); @ResponseBody @RequestMapping(value = "/page/cartInsert.html") public void insert(Integer goods_id,String goods_name,String goods_img,String goods_spe,Float goods_price,Float goods_total, @RequestParam(defaultValue="1")Integer goods_num,String oppen_id,HttpServletResponse response,HttpSession session) { try { Cart cart= new Cart(); Map<String, Object> map = new HashMap<String, Object>(); goods_name = java.net.URLDecoder.decode(goods_name,"utf-8") ; map.put("goods_id", goods_id); map.put("goods_name", goods_name); map.put("goods_img", goods_img); map.put("goods_spe", goods_spe); map.put("goods_price", goods_price); oppen_id=getOppen_id(session); map.put("oppen_id",oppen_id); cart.setGoods_id(goods_id); cart.setOppen_id(oppen_id); int total = cartService.count(cart); int cart_num =Integer.parseInt(session.getAttribute("cart_num").toString())+1; session.setAttribute("cart_num", cart_num); Map<String, Object> map2 = new HashMap<String, Object>(); int rs = 0 ; if(total>0){ goods_num=cartService.goodsnum(cart)+1; goods_total = goods_price*goods_num ; map.put("goods_total", goods_total); map.put("goods_num", goods_num); rs = cartService.update(map); }else{ goods_total = goods_price*goods_num ; map.put("goods_total", goods_total); map.put("goods_num", goods_num); rs = cartService.insert(map); } map2.put("rs_code", rs); map2.put("cart_num", cart_num); response.getWriter().write(gson.toJson(map2)); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } @ResponseBody @RequestMapping(value = "/page/cartUpdate.html") public void update(Float goods_price,Float goods_total,Integer goods_num,Integer goods_id,Integer s,HttpServletResponse response,HttpSession session) { try { // setOppen_id("111", session);//测试代码,模仿登录 Map<String, Object> map = new HashMap<>(); map.put("oppen_id", getOppen_id(session)); map.put("goods_num", goods_num); map.put("goods_total", goods_num*goods_price); map.put("goods_id", goods_id); int cart_num =Integer.parseInt(session.getAttribute("cart_num").toString()); if(s==1){ cart_num= cart_num+1 ; }else{ cart_num= cart_num-1 ; } session.setAttribute("cart_num", cart_num); Map<String, Object> map2 = new HashMap<String, Object>(); int rs = 0; if(goods_num<1){ rs = cartService.delete(map); }else{ rs = cartService.update(map); } map2.put("rs_code", rs); map2.put("cart_num", cart_num); response.getWriter().write(gson.toJson(map2)); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } @ResponseBody @RequestMapping(value = "/page/cartDel.html") public void delete(Integer goods_id,HttpSession session,HttpServletResponse response) { int cart_num =Integer.parseInt(session.getAttribute("cart_num").toString())-1; session.setAttribute("cart_num", cart_num); Map<String, Object> map = new HashMap<String, Object>(); int rs = cartService.delete(map); Map<String, Object> map2 = new HashMap<String, Object>(); map.put("goods_id", goods_id); map2.put("rs_code", rs); map2.put("cart_num", cart_num); try { response.getWriter().write(gson.toJson(map2)); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } @RequestMapping(value = "/page/cartList.html") public ModelAndView list(String oppen_id,HttpSession session) { // setOppen_id("111", session);//测试代码,模仿登录 Cart cart= new Cart(); cart.setOppen_id(getOppen_id(session)); List<Cart> list = cartService.list(cart); Float tprice = cartService.goodstotalprice(cart); int tnum = cartService.goodstotalnum(cart); ModelAndView ml = new ModelAndView(); ml.addObject("goods", list); ml.addObject("tprice", tprice.toString()); ml.addObject("tnum", tnum); ml.setViewName("page/cart"); return ml; } @ResponseBody @RequestMapping(value = "/page/getCartNum.html") public Map<String,Integer> getCartNum(HttpSession session) { Cart cart= new Cart(); cart.setOppen_id(getOppen_id(session)); int tnum = cartService.goodstotalnum(cart); Map<String,Integer> map=new HashMap<>(); map.put("cart_num",tnum); return map; } }
33.724359
152
0.727238
40cbd5bb549eeb48105e9ffd05808cf66db039ef
191
html
HTML
app/templates/index.html
pahumadad/flask-oauth
309e235da8d72bb4e33d6fb68eb90b2f5392823a
[ "MIT" ]
1
2017-04-27T09:23:48.000Z
2017-04-27T09:23:48.000Z
app/templates/index.html
pahumadad/flask-oauth
309e235da8d72bb4e33d6fb68eb90b2f5392823a
[ "MIT" ]
null
null
null
app/templates/index.html
pahumadad/flask-oauth
309e235da8d72bb4e33d6fb68eb90b2f5392823a
[ "MIT" ]
null
null
null
<!-- extends base layout --> {% extends "base.html" %} {% block content %} <h1>Index Page</h1> <div class="well"> <h2>Hello, {{ user.name }}!</h2> </div> {% endblock %}
17.363636
40
0.507853
0403d8f57af5cb1a56ed78e4828f2a755d6269aa
4,550
js
JavaScript
extension/app.js
Petingo/youtube-button-clicker
99d85b893420b2af6e8b1c36028120851d3c52b3
[ "MIT" ]
6
2018-12-02T06:49:54.000Z
2019-07-23T11:28:42.000Z
extension/app.js
Petingo/youtube-button-clicker
99d85b893420b2af6e8b1c36028120851d3c52b3
[ "MIT" ]
1
2019-11-14T08:12:17.000Z
2019-11-14T08:43:41.000Z
extension/app.js
Petingo/youtube-button-clicker
99d85b893420b2af6e8b1c36028120851d3c52b3
[ "MIT" ]
1
2021-03-09T14:06:52.000Z
2021-03-09T14:06:52.000Z
; (function () { console.log("1") let videoAdDelay = 5; let overlayAdDelay = 3; let nextVideoDelay = 10; chrome.storage.sync.get({ videoAdDelay: 5, overlayAdDelay: 3, nextVideoDelay: 10 }, function (config) { console.log("retrived config:", config) videoAdDelay = config.videoAdDelay; overlayAdDelay = config.overlayAdDelay nextVideoDelay = config.nextVideoDelay console.log(videoAdDelay, overlayAdDelay, nextVideoDelay); let setupStatus = { videoPopup: false, videoEnd: false, ad: false } let tmp = setInterval(function () { let playerContainer; if (window.location.pathname !== '/watch') { return; } // video automatically paused in background let video = document.getElementsByTagName('video')[0] if(video && !setupStatus.videoEnd){ setupStatus.videoEnd = true video.addEventListener('ended', function (e) { let endedVideo = window.location.href console.log(window.location.href) setTimeout(() => { // console.log("check if we should go next") // console.log(window.location.href) if(window.location.href == endedVideo){ console.log("go to up next video") document.querySelector("#movie_player > div.ytp-chrome-bottom > div.ytp-chrome-controls > div.ytp-left-controls > a.ytp-next-button.ytp-button").click() } else { console.log("already get to next") } }, nextVideoDelay * 1000) }); } // video has already paused popup popupContainer = document.querySelector("body > ytd-app > ytd-popup-container") if (popupContainer && !setupStatus.videoPopup) { setupStatus.videoPopup = true popupContainer.arrive("paper-dialog > yt-confirm-dialog-renderer .buttons.style-scope.yt-confirm-dialog-renderer #confirm-button paper-button", function () { document.querySelector("body > ytd-app > ytd-popup-container > paper-dialog > yt-confirm-dialog-renderer .buttons.style-scope.yt-confirm-dialog-renderer #confirm-button paper-button").click() }) } // ad skipper playerContainer = document.getElementById('player-container'); if (playerContainer && !setupStatus.ad) { setupStatus.ad = true videoAd = document.querySelector("#player-container .ytp-ad-skip-button-container") overlayAd = document.querySelector("#player-container .ytp-ad-overlay-close-button") if (videoAd) { console.log("close video Ad") click(videoAd, videoAdDelay * 1000) } if (overlayAd) { console.log("close overlay Ad") click(overlayAd, overlayAdDelay * 1000) } playerContainer.arrive(".ytp-ad-skip-button-container", function () { console.log("close video Ad") click(this, overlayAdDelay * 1000); }) playerContainer.arrive(".ytp-ad-overlay-close-button", function () { console.log("close overlay Ad") click(this, videoAdDelay * 1000); }) } console.log(setupStatus) let setupStatusResult = true for(let key in setupStatus){ setupStatusResult = setupStatusResult && setupStatus[key] } if(setupStatus){ clearInterval(tmp); } }, 250); }); function click(element, delay) { setTimeout(function () { // if (element.fireEvent) { // element.fireEvent('onclick') // } else { // let click = document.createEvent('Events'); // click.initEvent('click', true, false); // element.dispatchEvent(click); // } console.log("fired") element.click() }, delay); } })();
38.888889
211
0.509231
432a85f9c3f619695ed512f92325dee0579c37e6
183
kts
Kotlin
gen-util/build.gradle.kts
pak3nuh/java-lang-compiler-extensions
1d1ccaae151283b1df3b0a6556d4737223d29e79
[ "MIT" ]
2
2020-09-25T14:04:37.000Z
2020-09-28T08:52:45.000Z
gen-util/build.gradle.kts
pak3nuh/java-lang-compiler-extensions
1d1ccaae151283b1df3b0a6556d4737223d29e79
[ "MIT" ]
6
2020-09-17T07:53:14.000Z
2021-11-21T11:37:25.000Z
gen-util/build.gradle.kts
pak3nuh/java-lang-compiler-extensions
1d1ccaae151283b1df3b0a6556d4737223d29e79
[ "MIT" ]
null
null
null
group = Projects.baseGroupId description = "Generator util" plugins { kotlin("jvm") `maven-publish` signing } dependencies { implementation(Dependencies.javaPoet) }
14.076923
41
0.704918
5032a70e1bebf1c4d5ce24c83a69a10c09dd255a
15,993
go
Go
tests/e2e/tests/mixer/mixer_test.go
lookuptable/istio
8413b0cd1d1239598d02bd046f190cfc1141117c
[ "Apache-2.0" ]
null
null
null
tests/e2e/tests/mixer/mixer_test.go
lookuptable/istio
8413b0cd1d1239598d02bd046f190cfc1141117c
[ "Apache-2.0" ]
null
null
null
tests/e2e/tests/mixer/mixer_test.go
lookuptable/istio
8413b0cd1d1239598d02bd046f190cfc1141117c
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 Istio Authors // // 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 agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package mixer defines integration tests that validate working mixer // functionality in context of a test Istio-enabled cluster. package mixer import ( "bytes" "errors" "flag" "fmt" "io" "io/ioutil" "net/http" "os" "path/filepath" "strings" "sync" "testing" "time" "github.com/golang/glog" dto "github.com/prometheus/client_model/go" "github.com/prometheus/common/expfmt" "istio.io/istio/tests/e2e/framework" "istio.io/istio/tests/e2e/util" ) const ( bookinfoYaml = "samples/apps/bookinfo/bookinfo.yaml" rulesDir = "samples/apps/bookinfo" rateLimitRule = "mixer-rule-ratings-ratelimit.yaml" denialRule = "mixer-rule-ratings-denial.yaml" newTelemetryRule = "mixer-rule-additional-telemetry.yaml" routeAllRule = "route-rule-all-v1.yaml" routeReviewsVersionsRule = "route-rule-reviews-v2-v3.yaml" emptyRule = "mixer-rule-empty-rule.yaml" mixerPrometheusPort = 42422 targetLabel = "target" responseCodeLabel = "response_code" global = "global" ) type testConfig struct { *framework.CommonConfig gateway string rulesDir string } var ( tc *testConfig rules = []string{rateLimitRule, denialRule, newTelemetryRule, routeAllRule, routeReviewsVersionsRule, emptyRule} ) func (t *testConfig) Setup() error { t.gateway = "http://" + tc.Kube.Ingress for _, rule := range rules { src := util.GetResourcePath(filepath.Join(rulesDir, fmt.Sprintf("%s", rule))) dest := filepath.Join(t.rulesDir, rule) srcBytes, err := ioutil.ReadFile(src) if err != nil { glog.Errorf("Failed to read original rule file %s", src) return err } err = ioutil.WriteFile(dest, srcBytes, 0600) if err != nil { glog.Errorf("Failed to write into new rule file %s", dest) return err } } return nil } func (t *testConfig) Teardown() error { return nil } type mixerProxy struct { namespace string metricsPortFwdProcess *os.Process apiPortFwdProcess *os.Process } func newMixerProxy(namespace string) *mixerProxy { return &mixerProxy{ namespace: namespace, } } func (m *mixerProxy) Setup() error { var pod string var err error glog.Info("Setting up mixer proxy") getName := fmt.Sprintf("kubectl -n %s get pod -l istio=mixer -o jsonpath='{.items[0].metadata.name}'", m.namespace) pod, err = util.Shell(getName) if err != nil { return err } metricsPortFwd := fmt.Sprintf("kubectl port-forward %s %d:%d -n %s", strings.Trim(pod, "'"), mixerPrometheusPort, mixerPrometheusPort, m.namespace) if m.metricsPortFwdProcess, err = util.RunBackground(metricsPortFwd); err != nil { glog.Errorf("Failed to port forward: %s", err) return err } glog.Infof("mixer metrics port-forward running background, pid = %d", m.metricsPortFwdProcess.Pid) return err } func (m *mixerProxy) Teardown() (err error) { glog.Info("Cleaning up mixer proxy") if m.metricsPortFwdProcess != nil { err := m.metricsPortFwdProcess.Kill() if err != nil { glog.Error("Failed to kill metrics port-forward process, pid: %s", m.metricsPortFwdProcess.Pid) } } if m.apiPortFwdProcess != nil { err := m.apiPortFwdProcess.Kill() if err != nil { glog.Error("Failed to kill api port-forward process, pid: %s", m.apiPortFwdProcess.Pid) } } return } func TestMain(m *testing.M) { flag.Parse() check(framework.InitGlog(), "cannot setup glog") check(setTestConfig(), "could not create TestConfig") tc.Cleanup.RegisterCleanable(tc) os.Exit(tc.RunTest(m)) } func TestGlobalCheckAndReport(t *testing.T) { if err := visitProductPage(5); err != nil { t.Fatalf("Test app setup failure: %v", err) } glog.Info("Successfully request to /productpage; checking Mixer status...") resp, err := getMixerMetrics() defer func() { glog.Infof("closed response: %v", resp.Body.Close()) }() if err != nil { t.Errorf("Could not get /metrics from mixer: %v", err) return } glog.Info("Successfully retrieved /metrics from mixer.") requests := &metricValueGetter{ metricFamilyName: "request_count", labels: map[string]string{targetLabel: fqdn("productpage"), responseCodeLabel: "200"}, valueFn: counterValue, } if err := metricValues(resp, requests); err != nil { t.Errorf("Error getting metrics: %got", err) return } if requests.value != 1 { t.Errorf("Bad metric value: got %f, want 1", requests.value) } } func TestNewMetrics(t *testing.T) { productpage := fqdn("productpage") if err := createMixerRule(global, productpage, newTelemetryRule); err != nil { t.Fatalf("could not create required mixer rule: %v", err) } defer func() { if err := createMixerRule(global, productpage, emptyRule); err != nil { t.Logf("could not clear rule: %v", err) } }() // allow time for configuration to go and be active. // TODO: figure out a better way to confirm rule active time.Sleep(5 * time.Second) if err := visitProductPage(5); err != nil { t.Fatalf("Test app setup failure: %v", err) } glog.Info("Successfully request to /productpage; checking Mixer status...") resp, err := getMixerMetrics() defer func() { glog.Infof("closed response: %v", resp.Body.Close()) }() if err != nil { t.Errorf("Could not get /metrics from mixer: %v", err) return } glog.Info("Successfully retrieved /metrics from mixer.") responses := &metricValueGetter{ metricFamilyName: "response_size", labels: map[string]string{targetLabel: fqdn("productpage"), responseCodeLabel: "200"}, valueFn: histogramCountValue, } if err := metricValues(resp, responses); err != nil { t.Errorf("Error getting metrics: %got", err) return } if responses.value != 1 { t.Errorf("Bad metric value: got %f, want 1", responses.value) } } func TestDenials(t *testing.T) { applyReviewsRoutingRules(t) defer func() { deleteReviewsRoutingRules(t) }() ratings := fqdn("ratings") if err := createMixerRule(global, ratings, denialRule); err != nil { t.Fatalf("Could not create required mixer rule: %v", err) } defer func() { if err := createMixerRule(global, ratings, emptyRule); err != nil { t.Logf("could not clear rule: %v", err) } }() // allow time for configuration to go and be active. // TODO: figure out a better way to confirm rule active time.Sleep(5 * time.Second) // generate several calls to the product page for i := 0; i < 6; i++ { if err := visitProductPage(5); err != nil { t.Fatalf("Test app setup failure: %v", err) } } glog.Info("Successfully request to /productpage; checking Mixer status...") resp, err := getMixerMetrics() defer func() { glog.Infof("closed response: %v", resp.Body.Close()) }() if err != nil { t.Errorf("Could not get /metrics from mixer: %v", err) return } glog.Info("Successfully retrieved /metrics from mixer.") requests := &metricValueGetter{ metricFamilyName: "request_count", labels: map[string]string{ targetLabel: fqdn("ratings"), responseCodeLabel: "400", }, valueFn: counterValue, } if err := metricValues(resp, requests); err != nil { t.Errorf("Error getting metrics: %got", err) return } // be liberal in search for denial if requests.value < 1 { t.Errorf("Bad metric value: got %f, want at least 1", requests.value) } } func TestRateLimit(t *testing.T) { applyReviewsRoutingRules(t) defer func() { deleteReviewsRoutingRules(t) }() ratings := fqdn("ratings") if err := createMixerRule(global, ratings, rateLimitRule); err != nil { t.Fatalf("Could not create required mixer rule: %got", err) } defer func() { if err := createMixerRule(global, ratings, emptyRule); err != nil { t.Logf("could not clear rule: %got", err) } }() // allow time for configuration to go and be active. // TODO: figure out a better way to confirm rule active time.Sleep(1 * time.Minute) wg := sync.WaitGroup{} // try to send ~10qps for a minute rate := time.Second / 10 throttle := time.Tick(rate) for i := 0; i < 600; i++ { <-throttle // rate limit our Service.Method RPCs wg.Add(1) go func() { if err := visitProductPage(0); err != nil { glog.Infof("could get productpage: %v", err) } wg.Done() }() } wg.Wait() glog.Info("Successfully request to /productpage; checking Mixer status...") resp, err := getMixerMetrics() defer func() { glog.Infof("closed response: %v", resp.Body.Close()) }() if err != nil { t.Errorf("Could not get /metrics from mixer: %got", err) return } glog.Info("Successfully retrieved /metrics from mixer.") rateLimitedReqs := &metricValueGetter{ metricFamilyName: "request_count", labels: map[string]string{ targetLabel: fqdn("ratings"), responseCodeLabel: "429", }, valueFn: counterValue, } okReqs := &metricValueGetter{ metricFamilyName: "request_count", labels: map[string]string{ targetLabel: fqdn("ratings"), responseCodeLabel: "200", }, valueFn: counterValue, } if err := metricValues(resp, rateLimitedReqs, okReqs); err != nil { t.Errorf("Error getting metrics: %got", err) return } // rate-limit set to 5 qps, sending a request every 1/10th of a second, // modulo gorouting scheduling, etc. // there should be ~150 "too many rateLimitedReqs" observed. check for // greater than 100 to allow for differences in routing, etc. if rateLimitedReqs.value < 100 { t.Errorf("Bad metric value: got %f, want at least 100", rateLimitedReqs.value) } // check to make sure that some requests were accepted and processed // successfully. there should be ~250 "OK" requests observed. if okReqs.value < 200 { t.Errorf("Bad metric value: got %f, want at least 200", okReqs.value) } } func applyReviewsRoutingRules(t *testing.T) { if err := createRouteRule(routeAllRule); err != nil { t.Fatalf("Could not create initial route-all rule: %v", err) } // hope for stability time.Sleep(30 * time.Second) if err := replaceRouteRule(routeReviewsVersionsRule); err != nil { t.Fatalf("Could not create replace reviews routing rule: %v", err) } // hope for stability time.Sleep(30 * time.Second) } func deleteReviewsRoutingRules(t *testing.T) { if err := deleteRouteRule(routeAllRule); err != nil { t.Fatalf("Could not delete initial route-all rule: %v", err) } // hope for stability time.Sleep(30 * time.Second) } func getMixerMetrics() (*http.Response, error) { // sleep for a small amount of time to allow for Report() processing to finish time.Sleep(1 * time.Minute) return http.Get("http://localhost:42422/metrics") } func visitProductPage(retries int) error { standby := 0 for i := 0; i <= retries; i++ { time.Sleep(time.Duration(standby) * time.Second) http.DefaultClient.Timeout = 1 * time.Minute resp, err := http.Get(fmt.Sprintf("%s/productpage", tc.gateway)) if err != nil { glog.Infof("Error talking to productpage: %s", err) } else { glog.Infof("Get from page: %d", resp.StatusCode) if resp.StatusCode == http.StatusOK { glog.Info("Get response from product page!") break } closeResponseBody(resp) } if i == retries { return errors.New("could not retrieve product page: default route Failed") } standby += 5 glog.Errorf("Couldn't get to the bookinfo product page, trying again in %d second", standby) } if standby != 0 { time.Sleep(time.Minute) } return nil } func fqdn(service string) string { return fmt.Sprintf("%s.%s.svc.cluster.local", service, tc.Kube.Namespace) } func createRouteRule(ruleName string) error { rule := filepath.Join(tc.rulesDir, ruleName) return tc.Kube.Istioctl.CreateRule(rule) } func replaceRouteRule(ruleName string) error { rule := filepath.Join(tc.rulesDir, ruleName) return tc.Kube.Istioctl.ReplaceRule(rule) } func deleteRouteRule(ruleName string) error { rule := filepath.Join(tc.rulesDir, ruleName) return tc.Kube.Istioctl.DeleteRule(rule) } func createMixerRule(scope, subject, ruleName string) error { rule := filepath.Join(tc.rulesDir, ruleName) return tc.Kube.Istioctl.CreateMixerRule(scope, subject, rule) } func counterValue(mf *dto.MetricFamily, name string, labels map[string]string) (float64, error) { if len(mf.Metric) == 0 { return 0, fmt.Errorf("no metrics in family %s: %#v", name, mf.Metric) } counterMetric, err := metric(mf, labels) if err != nil { return 0, err } counter := counterMetric.Counter if counter == nil { return 0, fmt.Errorf("expected non-nil counter for metric: %s", mf.GetName()) } glog.Infof("%s: %#v", name, counter) return counter.GetValue(), nil } func histogramCountValue(mf *dto.MetricFamily, name string, labels map[string]string) (float64, error) { if len(mf.Metric) == 0 { return 0, fmt.Errorf("no metrics in family %s: %#v", name, mf.Metric) } hMetric, err := metric(mf, labels) if err != nil { return 0, err } histogram := hMetric.Histogram if histogram == nil { return 0, fmt.Errorf("expected non-nil histogram for metric: %s", mf.GetName()) } glog.Infof("%s: %#v", name, histogram) return float64(histogram.GetSampleCount()), nil } func metricValues(resp *http.Response, getters ...*metricValueGetter) error { var buf bytes.Buffer tee := io.TeeReader(resp.Body, &buf) defer func() { glog.Infof("/metrics: \n%s", buf) }() decoder := expfmt.NewDecoder(tee, expfmt.ResponseFormat(resp.Header)) // loop through metrics, looking to validate recorded request count for { mf := &dto.MetricFamily{} err := decoder.Decode(mf) if err == io.EOF { return nil } if err != nil { return fmt.Errorf("could not get decode valueFn: %v", err) } for _, g := range getters { if g.applies(mf.GetName()) { if val, err := g.getMetricValue(mf); err == nil { g.value = val } } } } } func metric(mf *dto.MetricFamily, labels map[string]string) (*dto.Metric, error) { // range operations seem to cause hangs with metrics stuff // using indexed loops instead for i := 0; i < len(mf.GetMetric()); i++ { m := mf.Metric[i] nameCount := len(labels) for j := 0; j < len(m.Label); j++ { l := m.Label[j] name := l.GetName() val := l.GetValue() if v, ok := labels[name]; ok && v == val { nameCount-- } } if nameCount == 0 { return m, nil } } return nil, fmt.Errorf("no metric found with labels: %#v", labels) } func setTestConfig() error { cc, err := framework.NewCommonConfig("mixer_test") if err != nil { return err } tc = new(testConfig) tc.CommonConfig = cc tc.rulesDir, err = ioutil.TempDir(os.TempDir(), "mixer_test") if err != nil { return err } demoApp := &framework.App{ AppYaml: util.GetResourcePath(bookinfoYaml), KubeInject: true, } tc.Kube.AppManager.AddApp(demoApp) mp := newMixerProxy(tc.Kube.Namespace) tc.Cleanup.RegisterCleanable(mp) return nil } func check(err error, msg string) { if err != nil { glog.Fatalf("%s. Error %s", msg, err) } } func closeResponseBody(r *http.Response) { if err := r.Body.Close(); err != nil { glog.Error(err) } } type metricValueGetter struct { metricFamilyName string labels map[string]string valueFn metricValueFn value float64 } func (v metricValueGetter) applies(name string) bool { return v.metricFamilyName == name } func (v metricValueGetter) getMetricValue(mf *dto.MetricFamily) (float64, error) { return v.valueFn(mf, v.metricFamilyName, v.labels) } type metricValueFn func(mf *dto.MetricFamily, name string, labels map[string]string) (float64, error)
28.107206
148
0.682549
d5e8065a87a5298e5b79b6c7f092cfcc3a52877f
872
h
C
src/Node1/driv_CAN.h
helgeanl/vigilant-robot
4578efe80a30417f1d8ac8d398a3ab30c817d588
[ "MIT" ]
1
2016-05-17T18:30:15.000Z
2016-05-17T18:30:15.000Z
src/Node1/driv_CAN.h
helgeanl/vigilant-robot
4578efe80a30417f1d8ac8d398a3ab30c817d588
[ "MIT" ]
1
2016-05-17T18:32:32.000Z
2016-05-17T18:33:21.000Z
src/Node1/driv_CAN.h
helgeanl/vigilant-robot
4578efe80a30417f1d8ac8d398a3ab30c817d588
[ "MIT" ]
null
null
null
/* * driv_CAN.h * * Created: 01.10.2015 11:17:26 * Author: helgeanl */ #ifndef DRIV_CAN_H_ #define DRIV_CAN_H_ #include <avr/io.h> // Message typedef struct{ uint16_t id; uint8_t data_length; uint8_t data[8]; } can_message_t; // CAN IDs #define JOY_ID 256 #define RESET_ID 288 #define SOUND_ID 352 #define SLIDER_ID 320 #define STATE_ID 384 #define SCORE_ID 416 #define MENU_ID 448 #define GAME_ID 480 #define CONTROLLER_ID 768 /** Initialize CAN */ void can_init(); /** Send CAN message @param message pointer, pointer to CAN message */ void can_message_send(can_message_t* msg); /** Read value of ADC channel @return */ uint8_t can_transmit_complete(); void can_message_receive(can_message_t* message); #endif /* DRIV_CAN_H_ */
17.098039
53
0.633028
141016a6906809293d670449b84a3601b329eeaf
357
css
CSS
src/app/astronaut/astronaut-level-up/astronaut-level-up.component.css
danielkleebinder/cryptonauts
a6ca3b27013eb40e159b57417e6e7d8a05e60c1c
[ "Apache-2.0" ]
1
2021-11-08T01:24:03.000Z
2021-11-08T01:24:03.000Z
src/app/astronaut/astronaut-level-up/astronaut-level-up.component.css
danielkleebinder/cryptonauts
a6ca3b27013eb40e159b57417e6e7d8a05e60c1c
[ "Apache-2.0" ]
null
null
null
src/app/astronaut/astronaut-level-up/astronaut-level-up.component.css
danielkleebinder/cryptonauts
a6ca3b27013eb40e159b57417e6e7d8a05e60c1c
[ "Apache-2.0" ]
1
2021-11-27T12:47:58.000Z
2021-11-27T12:47:58.000Z
.specializations { display: flex; justify-content: center; align-items: center; } app-info-card { width: 140px; height: 200px; border: 5px solid transparent; transition-property: border-color; transition-duration: 400ms; } app-info-card.selected { border: 5px solid #7b1fa2; } mat-dialog-actions { justify-content: space-between; }
14.875
36
0.705882
47128bfe741acef270619ae7a0643f6430b9e6c2
1,836
kt
Kotlin
contracts/src/main/kotlin/demo/Stock.kt
lkjh3111/busanTest
fcf8e44fe9e089fc68e7054436fbadf56c57dab6
[ "Apache-2.0" ]
null
null
null
contracts/src/main/kotlin/demo/Stock.kt
lkjh3111/busanTest
fcf8e44fe9e089fc68e7054436fbadf56c57dab6
[ "Apache-2.0" ]
null
null
null
contracts/src/main/kotlin/demo/Stock.kt
lkjh3111/busanTest
fcf8e44fe9e089fc68e7054436fbadf56c57dab6
[ "Apache-2.0" ]
null
null
null
package demo import com.r3.corda.lib.tokens.contracts.states.EvolvableTokenType import com.r3.corda.lib.tokens.contracts.types.TokenType import com.r3.corda.lib.tokens.contracts.utilities.of import com.template.ExampleEvolvableTokenTypeContract import net.corda.core.contracts.Amount import net.corda.core.contracts.BelongsToContract import net.corda.core.contracts.UniqueIdentifier import net.corda.core.identity.Party import net.corda.core.schemas.MappedSchema import net.corda.core.schemas.PersistentState import net.corda.core.schemas.QueryableState import net.corda.core.schemas.StatePersistable import java.math.BigDecimal import java.util.* @BelongsToContract(StockContract::class) data class Stock( val symbol: String, val name: String, val currency: String, val dividend: BigDecimal, val exDate: Date = Date(), val payDate: Date = Date(), //val displayTokenSize: BigDecimal, override val maintainers: List<Party>, override val linearId: UniqueIdentifier= UniqueIdentifier(), override val fractionDigits: Int = 0 ) : EvolvableTokenType(), StatePersistable { //EvolvableTokenType(), QueryableState, StatePersistable { //override val maintainers: List<Party> get() = listOf(maintainer) /* override fun generateMappedObject(schema: MappedSchema): PersistentState { return when (schema) { is StockSchemaV1 -> StockSchemaV1.PersistentStock( this.symbol.toString(), this.name.toString(), this.currency.toString(), this.linearId.id ) else -> throw IllegalArgumentException("Unrecognised schema $schema") } } override fun supportedSchemas(): Iterable<MappedSchema> = listOf(StockSchemaV1) */ }
32.785714
83
0.704793
fe365b2fc05ed6c7c85ce972119c55ea105c128e
2,148
h
C
Base/QTGUI/qSlicerStyle.h
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
Base/QTGUI/qSlicerStyle.h
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
Base/QTGUI/qSlicerStyle.h
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
/*============================================================================== Program: 3D Slicer Copyright (c) Kitware Inc. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. This file was originally developed by Julien Finet, Kitware Inc. and was partially funded by NIH grant 3P41RR013218-12S1 ==============================================================================*/ #ifndef __qSlicerStyle_h #define __qSlicerStyle_h // CTK includes #include <ctkProxyStyle.h> // Slicer includes #include "qSlicerBaseQTGUIExport.h" class Q_SLICER_BASE_QTGUI_EXPORT qSlicerStyle : public ctkProxyStyle { Q_OBJECT public: /// Superclass typedef typedef ctkProxyStyle Superclass; /// Constructors qSlicerStyle(); ~qSlicerStyle() override; SubControl hitTestComplexControl(ComplexControl cc, const QStyleOptionComplex *opt, const QPoint &pt, const QWidget *widget) const override; int pixelMetric(PixelMetric metric, const QStyleOption * option = nullptr, const QWidget * widget = nullptr)const override; QRect subControlRect(ComplexControl control, const QStyleOptionComplex *option, SubControl subControl, const QWidget *widget) const override; QPalette standardPalette()const override; int styleHint(StyleHint hint, const QStyleOption *opt, const QWidget *widget, QStyleHintReturn *returnData) const override; /// Behavior of widgets can be tweaked if an event filter is installed on a /// widget or application. /// If activated, the filter: /// * prevents widgets to receive wheel events when they are in a scroll area /// with a visible scrollbar. bool eventFilter(QObject* obj, QEvent* event) override; }; #endif
34.095238
99
0.670391
2daff949a8602405fd72da1c3e69ff549288ab4c
840
html
HTML
manuscript/page-534/body.html
marvindanig/the-last-man
c71790f2ec4c36070aae0a9b1c17ca276679fed6
[ "CECILL-B" ]
null
null
null
manuscript/page-534/body.html
marvindanig/the-last-man
c71790f2ec4c36070aae0a9b1c17ca276679fed6
[ "CECILL-B" ]
null
null
null
manuscript/page-534/body.html
marvindanig/the-last-man
c71790f2ec4c36070aae0a9b1c17ca276679fed6
[ "CECILL-B" ]
null
null
null
<div class="leaf flex"><div class="inner justify"><p> as a building, whose props are loosened, and whose foundations rock, totters and falls, so when enthusiasm and hope deserted me, did my strength fail. I sat on the sole remaining step of an edifice, which even in its downfall, was huge and magnificent; a few broken walls, not dislodged by gunpowder, stood in fantastic groupes, and a flame glimmered at intervals on the summit of the pile. For a time hunger and sleep contended, till the constellations reeled before my eyes and then were lost. I strove to rise, but my heavy lids closed, my limbs over-wearied, claimed repose--I rested my head on the stone, I yielded to the grateful sensation of utter forgetfulness; and in that scene of desolation, on that night of despair--I slept.</p><p>[1] Calderon de la Barca.</p></div> </div>
840
840
0.771429
2a4dd8fea28152dbc66d18e22379493ca96ec061
743
java
Java
Challange_Viaggio/src/test/java/com/garone/ChallangeViaggioApplicationTests.java
ggarone/Challanges
b2adbfbda8b0976366f10552e7adf77a66447a0c
[ "MIT" ]
null
null
null
Challange_Viaggio/src/test/java/com/garone/ChallangeViaggioApplicationTests.java
ggarone/Challanges
b2adbfbda8b0976366f10552e7adf77a66447a0c
[ "MIT" ]
null
null
null
Challange_Viaggio/src/test/java/com/garone/ChallangeViaggioApplicationTests.java
ggarone/Challanges
b2adbfbda8b0976366f10552e7adf77a66447a0c
[ "MIT" ]
null
null
null
package com.garone; import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.Set; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import com.garone.entities.Documento; import com.garone.entities.Viaggio; import com.garone.service.ViaggioService; @SpringBootTest class ChallangeViaggioApplicationTests { @Autowired private ViaggioService service; @Test void contextLoads() { Viaggio viaggioById = service.getViaggioById(1); assertTrue(viaggioById.getId() == 1); Set<Documento> documentiByViaggioId = service.getDocumentiById(1); System.out.println(documentiByViaggioId); } }
20.638889
68
0.786003
18cc07c97c1644dcd601eede9182cb1023d9537b
2,378
rb
Ruby
app/models/spree/paga_transaction.rb
jimacoff/spree_paga
d652ccba94fdbe25a90c31e747b7ead4305d2a45
[ "BSD-3-Clause" ]
null
null
null
app/models/spree/paga_transaction.rb
jimacoff/spree_paga
d652ccba94fdbe25a90c31e747b7ead4305d2a45
[ "BSD-3-Clause" ]
1
2016-03-14T09:48:49.000Z
2016-03-14T09:48:49.000Z
app/models/spree/paga_transaction.rb
jimacoff/spree_paga
d652ccba94fdbe25a90c31e747b7ead4305d2a45
[ "BSD-3-Clause" ]
1
2016-03-04T06:02:37.000Z
2016-03-04T06:02:37.000Z
class Spree::PagaTransaction < ActiveRecord::Base MINIMUM_AMT = 1 PENDING = 'Pending' SUCCESSFUL = 'Successful' UNSUCCESSFUL = 'Unsuccessful' belongs_to :order belongs_to :user validates :amount, numericality: { greater_than_or_equal_to: MINIMUM_AMT } validates :transaction_id, :order, presence: true, if: :response_status? validates :transaction_id, uniqueness: true, allow_blank: true before_validation :assign_values, on: :create before_save :update_transaction_status, unless: :success? before_save :update_payment_source, if: :transaction_id_changed? before_save :finalize_order, if: [:success?, :status_changed?] before_update :set_pending_for_payment, if: [:status_changed?, :pending?] before_save :order_set_failure_for_payment, if: [:status_changed?, :unsuccessful?] delegate :currency, to: :order def assign_values self.status = PENDING self.amount = order.remaining_total end def success? status == SUCCESSFUL end def unsuccessful? status == UNSUCCESSFUL end def pending? status == PENDING end def amount_valid? amount >= order.remaining_total end def update_transaction(transaction_params) self.transaction_id = transaction_params[:transaction_id].present? ? transaction_params[:transaction_id] : generate_transaction_id self.paga_fee = transaction_params[:fee] self.amount = transaction_params[:total] self.response_status = transaction_params[:status] self.save end def generate_transaction_id begin self.transaction_id = SecureRandom.hex(10) end while Spree::PagaTransaction.exists?(transaction_id: transaction_id) transaction_id end private def set_pending_for_payment payment = order.paga_payment payment.pend! end def order_set_failure_for_payment payment = order.paga_payment payment.failure! end def finalize_order order.finalize_order end def update_payment_source payment = order.paga_payment payment.source = Spree::PaymentMethod::Paga.first payment.save payment.started_processing! end def update_transaction_status paga_notification = Spree::PagaNotification.find_by(transaction_id: self.transaction_id) if paga_notification && amount_valid? self.status = SUCCESSFUL self.amount = paga_notification.amount end true end end
26.719101
134
0.748949
50c6df74749247568ffaf00544ea287d78090464
334
lua
Lua
RoactNametagRojo/src/server/JoinHandler.server.lua
FxllenCode/RobloxNametagOS
424cd5acf0c608fa08e2a29f48468c7d2eccd62e
[ "MIT" ]
2
2021-04-22T01:56:29.000Z
2022-01-15T01:45:23.000Z
RoactNametagRojo/src/server/JoinHandler.server.lua
FxllenCode/RobloxNametagOS
424cd5acf0c608fa08e2a29f48468c7d2eccd62e
[ "MIT" ]
2
2021-04-24T14:05:50.000Z
2021-05-06T12:56:37.000Z
RoactNametagRojo/src/server/JoinHandler.server.lua
FxllenCode/RobloxNametagOS
424cd5acf0c608fa08e2a29f48468c7d2eccd62e
[ "MIT" ]
null
null
null
local Players = game:GetService("Players") Players.PlayerAdded:Connect(function(player) local character = player.Character if not character or not character.Parent then character = player.CharacterAdded:Wait() end character.Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None end)
30.363636
83
0.745509
569a033177632880e327260cefa137e5904d816d
4,831
ts
TypeScript
tests/get-day-info.spec.ts
yasser-mas/working-time
b1f444ae1e7eef22a4beb2fe95240fecc988b2ad
[ "MIT" ]
null
null
null
tests/get-day-info.spec.ts
yasser-mas/working-time
b1f444ae1e7eef22a4beb2fe95240fecc988b2ad
[ "MIT" ]
3
2020-07-18T00:10:53.000Z
2021-09-01T17:39:05.000Z
tests/get-day-info.spec.ts
yasser-mas/working-time
b1f444ae1e7eef22a4beb2fe95240fecc988b2ad
[ "MIT" ]
null
null
null
import { expect, should, assert } from 'chai'; import TimerFactory from '../source/index'; import { Timer } from '../source/lib/timer'; import { VALID_TIMER_CONFIG } from './testing-data'; import { ITimerParams } from '../source/lib/interfaces/i-timer-params'; function getCopy(obj: ITimerParams ):ITimerParams{ return (JSON.parse(JSON.stringify(obj))); } describe('Get Day Info Test Cases', function() { let timer : Timer ; let timerConfig : ITimerParams ; beforeEach(function() { TimerFactory.clearTimer(); timer = TimerFactory.getTimerInstance(); timerConfig = getCopy(VALID_TIMER_CONFIG); }); it('should be normal working day', function() { const timerInstance = timer.setConfig(timerConfig); let day = new Date('2019-07-25'); let dayInfo = timerInstance.getDayInfo(day); expect(dayInfo.isExceptional).to.be.false; expect(dayInfo.isVacation).to.be.false; expect(dayInfo.isWeekend).to.be.false; expect(dayInfo.workingHours).to.be.eql(timerConfig.normalWorkingHours[4]); }); it('should throw exception on submit invalid date', function() { const timerInstance = timer.setConfig(timerConfig); let day = '2019-07-25' as any ; return timerInstance.getDayInfoAsync(day).catch(e =>{ expect(e.message).to.be.eql('Invalid Date !') }); }); it('should throw exception on submit nullable date', function() { const timerInstance = timer.setConfig(timerConfig); let day = null as any ; return timerInstance.getDayInfoAsync(day).catch(e =>{ expect(e.message).to.be.eql('Invalid Date !') }); }); it('should be weekend', function() { const timerInstance = timer.setConfig(timerConfig); let day = new Date('2019-07-26'); let dayInfo = timerInstance.getDayInfo(day); expect(dayInfo.isExceptional).to.be.false; expect(dayInfo.isVacation).to.be.false; expect(dayInfo.isWeekend).to.be.true; expect(dayInfo.workingHours).to.be.eql([]); }); it('should be vacation', function() { const timerInstance = timer.setConfig(timerConfig); let day = new Date('2019-08-05'); let dayInfo = timerInstance.getDayInfo(day); expect(dayInfo.isExceptional).to.be.false; expect(dayInfo.isVacation).to.be.true; expect(dayInfo.isWeekend).to.be.false; }); it('should be exceptional working day', function() { const timerInstance = timer.setConfig(timerConfig); let day = new Date('2019-08-13'); let dayInfo = timerInstance.getDayInfo(day); expect(dayInfo.isExceptional).to.be.true; expect(dayInfo.isVacation).to.be.false; expect(dayInfo.isWeekend).to.be.false; expect(dayInfo.workingHours).to.be.eql(timerConfig.exceptionalWorkingHours['2019-08-13']); }); it('should extend buffered calendar on sbumit very old date', function() { const timerInstance = timer.setConfig(timerConfig); let day = new Date('2017-03-22'); let dayInfo = timerInstance.getDayInfo(day); expect(dayInfo.isExceptional).to.be.false; expect(dayInfo.isVacation).to.be.false; expect(dayInfo.isWeekend).to.be.false; expect(dayInfo.workingHours).to.be.eql(timerConfig.normalWorkingHours[3]); }); it('should extend buffered calendar on sbumit far future date', function() { const timerInstance = timer.setConfig(timerConfig); let day = new Date('2022-05-22'); let dayInfo = timerInstance.getDayInfo(day); expect(dayInfo.isExceptional).to.be.false; expect(dayInfo.isVacation).to.be.false; expect(dayInfo.isWeekend).to.be.false; expect(dayInfo.workingHours).to.be.eql(timerConfig.normalWorkingHours[0]); }); it('should be vacation on submit date included as vacation wildcard', function() { const timerInstance = timer.setConfig(timerConfig); let day = new Date('2019-09-05'); let dayInfo = timerInstance.getDayInfo(day); let dayInfo2 = timerInstance.getDayInfo(new Date('2021-09-05')); expect(dayInfo.isExceptional).to.be.eql(dayInfo2.isExceptional).to.be.false; expect(dayInfo.isVacation).to.be.eql(dayInfo2.isVacation).to.be.true; expect(dayInfo.isWeekend).to.be.eql(dayInfo2.isWeekend).to.be.false; }); it('should be exceptionale on submit date included as exceptional wildcard', function() { const timerInstance = timer.setConfig(timerConfig); let day = new Date('2019-08-16'); let dayInfo = timerInstance.getDayInfo(day); let dayInfo2 = timerInstance.getDayInfo(new Date('2021-08-16')); let dayInfo3 = timerInstance.getDayInfo(new Date('2001-08-16')); expect(dayInfo.isExceptional).to.be.eql(dayInfo2.isExceptional).to.be.eql(dayInfo3.isExceptional).to.be.true; expect(dayInfo.workingHours).to.be.eql(dayInfo2.workingHours).to.be.eql(dayInfo3.workingHours).to.be.eql(timerConfig.exceptionalWorkingHours['*-08-16']); }); });
32.863946
157
0.703374
cb532dad23eda8ab95d06cfebbc8c8bfb0774fc6
2,191
h
C
src/gdk/geventkey.h
Letargie/pggi
031d42c22b4a346c87bad4bf84bc2a29ba67f7fe
[ "BSD-3-Clause" ]
13
2017-06-18T06:35:23.000Z
2019-11-04T06:26:13.000Z
src/gdk/geventkey.h
Letargie/pggi
031d42c22b4a346c87bad4bf84bc2a29ba67f7fe
[ "BSD-3-Clause" ]
13
2017-06-18T06:49:05.000Z
2020-02-20T10:22:09.000Z
src/gdk/geventkey.h
Letargie/pggi
031d42c22b4a346c87bad4bf84bc2a29ba67f7fe
[ "BSD-3-Clause" ]
1
2017-10-03T05:16:00.000Z
2017-10-03T05:16:00.000Z
/* +-----------------------------------------------------------+ | Copyright (c) 2017 Collet Valentin | +-----------------------------------------------------------+ | This source file is subject to version the BDS license, | | that is bundled with this package in the file LICENSE | +-----------------------------------------------------------+ | Author: Collet Valentin <valentin@famillecollet.com> | +-----------------------------------------------------------+ */ #ifndef __GEVENT_KEY_DEF__ #define __GEVENT_KEY_DEF__ #include <gtk/gtk.h> #include "php.h" #include "php_ini.h" #include "ext/standard/info.h" #include "zend.h" #include "zend_API.h" #include "../commons/hub.h" #include "gevent.h" /************************/ /* GEventKey properties */ /************************/ #define GEVENT_KEY_KEYVAL "keyval" #define GEVENT_KEY_STATE "state" /*****************************/ /* Class information getters */ /*****************************/ zend_class_entry * gevent_key_get_class_entry(void); zend_object_handlers * gevent_key_get_object_handlers(); /***************/ /* PHP Methods */ /***************/ #define GEVENT_KEY_METHOD(name) \ PHP_METHOD(GEventKey, name) GEVENT_KEY_METHOD(__construct); /*****************************/ /* Object handling functions */ /*****************************/ /*==========================================================================*/ /** * Read property handling function */ zval *gevent_key_read_property(zval *object, zval *member, int type, void **cache_slot, zval *rv); /*==========================================================================*/ /** * get properties handling function */ HashTable *gevent_key_get_properties(zval *object); /*==========================================================================*/ /** * write property handling function */ PHP_WRITE_PROP_HANDLER_TYPE gevent_write_key_property(zval *object, zval *member, zval *value, void **cache_slot); /**********************************/ /* GEventKey Class Initialization */ /**********************************/ void gevent_key_init(int module_number); /* __GEVENT_KEY_DEF__ */ #endif
26.719512
114
0.46691
514051f1c04f4fc6e85a5a42d062c40925f84032
17,991
sql
SQL
database/blanja-api.sql
dimasdompit/Blanja-Backend
7f5b453eacd1813275f2d90ffdba25aff365c505
[ "MIT" ]
2
2020-09-20T10:50:02.000Z
2020-09-21T12:47:51.000Z
database/blanja-api.sql
dimasdompit/Blanja-Backend
7f5b453eacd1813275f2d90ffdba25aff365c505
[ "MIT" ]
null
null
null
database/blanja-api.sql
dimasdompit/Blanja-Backend
7f5b453eacd1813275f2d90ffdba25aff365c505
[ "MIT" ]
null
null
null
-- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Waktu pembuatan: 27 Sep 2020 pada 13.01 -- Versi server: 10.4.13-MariaDB -- Versi PHP: 7.4.7 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `blanja-api` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `address` -- CREATE TABLE `address` ( `id` int(11) NOT NULL, `user_id` int(11) NOT NULL, `type` varchar(256) NOT NULL COMMENT 'like Home, Office, etc.', `name` varchar(256) NOT NULL, `address` text NOT NULL, `telp` varchar(16) NOT NULL, `city` varchar(256) NOT NULL, `province` varchar(256) NOT NULL, `zipcode` varchar(11) NOT NULL, `country` varchar(256) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `address` -- INSERT INTO `address` (`id`, `user_id`, `type`, `name`, `address`, `telp`, `city`, `province`, `zipcode`, `country`) VALUES (7, 8, 'Home', 'Dimas Mokodompit', 'Jalan Taman Melati 2', '081209876543', 'Depok', 'West Java', '12345', 'Indonesia'); -- -------------------------------------------------------- -- -- Struktur dari tabel `banner` -- CREATE TABLE `banner` ( `id` int(11) NOT NULL, `image` varchar(256) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `banner` -- INSERT INTO `banner` (`id`, `image`) VALUES (3, 'banner-1600685582616.jpg'), (4, 'banner-1601195831975.png'), (5, 'banner-1601196560328.jpg'), (6, 'banner-1601196577034.jpg'), (7, 'banner-1601196590001.jpg'); -- -------------------------------------------------------- -- -- Struktur dari tabel `categories` -- CREATE TABLE `categories` ( `id` int(11) NOT NULL, `category` varchar(256) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `categories` -- INSERT INTO `categories` (`id`, `category`) VALUES (1, 'Shirt'), (2, 'Pants'), (3, 'Shoes'), (4, 'Wirstwatch'), (7, 'Handbag'), (8, 'Bagback'), (9, 'Socks'), (10, 'Glasses'), (11, 'Cap'), (12, 'Tie'), (13, 'Dress'), (14, 'Formal Suit'), (15, 'Accessories'), (16, 'Jacket'), (17, 'Hoodie'); -- -------------------------------------------------------- -- -- Struktur dari tabel `colors` -- CREATE TABLE `colors` ( `id` int(11) NOT NULL, `color` varchar(256) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `colors` -- INSERT INTO `colors` (`id`, `color`) VALUES (1, 'Black'), (2, 'White'), (3, 'Red'), (5, 'Blue'), (6, 'Pink'), (7, 'Yellow'), (8, 'Grey'); -- -------------------------------------------------------- -- -- Struktur dari tabel `conditions` -- CREATE TABLE `conditions` ( `id` int(11) NOT NULL, `condition_name` varchar(256) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `conditions` -- INSERT INTO `conditions` (`id`, `condition_name`) VALUES (1, 'New'), (2, 'Secondhand'); -- -------------------------------------------------------- -- -- Struktur dari tabel `otp` -- CREATE TABLE `otp` ( `id` int(11) NOT NULL, `code` varchar(20) NOT NULL, `email` varchar(256) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Struktur dari tabel `products` -- CREATE TABLE `products` ( `id` int(11) NOT NULL, `product_name` varchar(256) NOT NULL, `store` int(11) NOT NULL, `image` varchar(256) NOT NULL, `description` text NOT NULL, `stock` int(11) NOT NULL, `price` int(11) NOT NULL, `condition_id` int(11) NOT NULL, `category_id` int(11) NOT NULL, `size_id` int(11) NOT NULL, `color_id` int(11) NOT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `products` -- INSERT INTO `products` (`id`, `product_name`, `store`, `image`, `description`, `stock`, `price`, `condition_id`, `category_id`, `size_id`, `color_id`, `created_at`, `updated_at`) VALUES (90, 'Nike Airmax 270 (Black)', 6, 'Nike-Airmax-270-(Black)-1601038604701.jpg', 'Nike\'s first lifestyle Air Max brings you style, comfort and big attitude in the Nike Air Max 270. The design draws inspiration from Air Max icons, showcasing Nike\'s greatest innovation with its large window and fresh array of colours.\n\nBenefits\n\n The Max Air 270 unit delivers unrivalled, all-day comfort.\n Woven and synthetic fabric on the upper provides a lightweight fit and airy feel.\n The foam midsole feels soft and comfortable.\n The stretchy inner sleeve and booty-like construction creates a personalised fit.\n Rubber on the outsole adds traction and durability.\n\n\nProduct Details\n\n Pull tab\n Rubber sole\n Padded collar\n Colour Shown: Black/White/Solar Red/Anthracite\n Style: AH8050-002\n Country/Region of Origin: Vietnam,Indonesia\n\n\nNike Air Max Origins\n\nRevolutionary Air technology first made its way into Nike footwear in 1978. In 1987, the Air Max 1 debuted with visible Air technology in its heel, allowing fans more than just the feel of Air cushioning—suddenly they could see it. Since then, next-generation Air Max shoes have become a hit with athletes and collectors by offering striking colour combinations and reliable, lightweight cushioning.', 20, 153, 1, 3, 4, 1, '2020-09-25 12:56:45', '2020-09-25 12:56:45'), (91, 'Adidas Stargon 1.0 (Blue)', 9, 'Adidas-Stargon-1.0-(Blue)-1601125079269.jpg', 'The adidas running shoes for men. These lightweight shoes give all round comfort, cushioning, durability & support in a simplistic design. The combination of Textile-Mesh upper ensure breathability and durability while the Lightstrike IMEVA midsole provides premium cushioning. Full Rubber outsole provides durability. ', 32, 58, 1, 3, 4, 5, '2020-09-26 12:57:59', '2020-09-26 12:57:59'), (93, 'Alexandre Christie 9200 Nm (Black) - EDIT', 10, 'Alexandre-Christie-9200-Nm-(Black)---EDIT-1601188087300.jpg', 'Having a history of more than half a century in the design and manufacture of quality watches, Alexandre Christie creates an essence in design that is strong in character and the art of watch making. A high-integrity design team works seriously with manufacturing technicians to ensure accurate quality and design interpretation right down to every single part of the Alexandre Christie watch product; make dreams / desires come true through art of watch making.\n\nAll Alexandre Christie watches are manufactured from selected high quality stainless steel. With “stringent testing,” every part of the Alexandre Christie watch can withstand everyday wear. Alexandre Christie, passionate dreams come true', 15, 147, 1, 4, 4, 1, '2020-09-26 19:36:22', '2020-09-26 19:36:22'), (94, 'Charles & Keith Tuck-In Flap Structured Bag (Pink)', 11, 'Charles-&-Keith-Tuck-In-Flap-Structured-Bag-(Pink)-1601152884208.jpg', 'A practical bag for errands and shopping. Take this sweet pink structured bag into the weekend when you style it with a denim jacket, a mini skirt and mules. ', 10, 63, 1, 7, 3, 6, '2020-09-26 20:41:24', '2020-09-26 20:41:24'), (100, 'Louis Vuitton Ivory Dress (Black)', 12, 'Louis-Vuitton-Ivory-Dress-(Black)-1601182613414.jpg', 'An elegant update on the little black dress: this wool-and-silk cady crepe design stands out with an embroidered scarf that can be fastened or removed with a zipper at the neck. Inspired by metallic watch bracelets, the aluminum sequins are applied to Monogram twill. Classic yet versatile.', 10, 3750, 1, 13, 3, 1, '2020-09-27 04:56:53', '2020-09-27 04:56:53'); -- -------------------------------------------------------- -- -- Struktur dari tabel `product_images` -- CREATE TABLE `product_images` ( `id` int(11) NOT NULL, `product_id` int(11) NOT NULL, `image` varchar(256) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `product_images` -- INSERT INTO `product_images` (`id`, `product_id`, `image`) VALUES (147, 90, 'Nike-Airmax-270-(Black)-1601038604701.jpg'), (148, 90, 'Nike-Airmax-270-(Black)-1601038604729.jpg'), (149, 90, 'Nike-Airmax-270-(Black)-1601038604732.jpg'), (150, 90, 'Nike-Airmax-270-(Black)-1601038604735.jpg'), (151, 91, 'Adidas-Stargon-1.0-(Blue)-1601125079269.jpg'), (152, 91, 'Adidas-Stargon-1.0-(Blue)-1601125079298.jpg'), (153, 91, 'Adidas-Stargon-1.0-(Blue)-1601125079361.jpg'), (154, 91, 'Adidas-Stargon-1.0-(Blue)-1601125079363.jpg'), (159, 93, 'Alexandre-Christie-9200-Nm-(Black)---EDIT-1601188087300.jpg'), (160, 93, 'Alexandre-Christie-9200-Nm-(Black)---EDIT-1601188087481.jpg'), (161, 93, 'Alexandre-Christie-9200-Nm-(Black)---EDIT-1601188087487.jpg'), (162, 93, 'Alexandre-Christie-9200-Nm-(Black)---EDIT-1601188087491.jpg'), (163, 94, 'Charles-&-Keith-Tuck-In-Flap-Structured-Bag-(Pink)-1601152884208.jpg'), (164, 94, 'Charles-&-Keith-Tuck-In-Flap-Structured-Bag-(Pink)-1601152884253.jpg'), (165, 94, 'Charles-&-Keith-Tuck-In-Flap-Structured-Bag-(Pink)-1601152884255.jpg'), (166, 94, 'Charles-&-Keith-Tuck-In-Flap-Structured-Bag-(Pink)-1601152884258.jpg'), (178, 100, 'Louis-Vuitton-Ivory-Dress-(Black)-1601182613414.jpg'), (179, 100, 'Louis-Vuitton-Ivory-Dress-(Black)-1601182613523.jpg'), (180, 100, 'Louis-Vuitton-Ivory-Dress-(Black)-1601182613529.jpg'), (181, 100, 'Louis-Vuitton-Ivory-Dress-(Black)-1601182613576.jpg'); -- -------------------------------------------------------- -- -- Struktur dari tabel `sizes` -- CREATE TABLE `sizes` ( `id` int(11) NOT NULL, `size` varchar(256) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `sizes` -- INSERT INTO `sizes` (`id`, `size`) VALUES (1, 'XS'), (2, 'S'), (3, 'M'), (4, 'L'), (5, 'XL'), (7, 'XXL'); -- -------------------------------------------------------- -- -- Struktur dari tabel `transactions` -- CREATE TABLE `transactions` ( `id` int(11) NOT NULL, `user_id` int(11) NOT NULL, `total` int(11) NOT NULL, `shipping_address` int(11) NOT NULL, `ordered_at` timestamp NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `transactions` -- INSERT INTO `transactions` (`id`, `user_id`, `total`, `shipping_address`, `ordered_at`) VALUES (5, 8, 205, 7, '2020-09-27 06:48:53'), (6, 8, 153, 7, '2020-09-27 07:19:14'); -- -------------------------------------------------------- -- -- Struktur dari tabel `transaction_details` -- CREATE TABLE `transaction_details` ( `id` int(11) NOT NULL, `order_id` int(11) NOT NULL, `product_id` int(11) NOT NULL, `qty` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `transaction_details` -- INSERT INTO `transaction_details` (`id`, `order_id`, `product_id`, `qty`) VALUES (6, 5, 91, 1), (7, 5, 93, 1), (8, 6, 90, 1); -- -------------------------------------------------------- -- -- Struktur dari tabel `users` -- CREATE TABLE `users` ( `id` int(11) NOT NULL, `email` varchar(256) NOT NULL, `name` varchar(256) NOT NULL, `password` varchar(256) NOT NULL, `role` int(2) NOT NULL DEFAULT 0, `birthday_date` date DEFAULT NULL, `store` varchar(256) NOT NULL, `telp` varchar(16) NOT NULL, `image` varchar(256) NOT NULL DEFAULT 'user-default.png', `is_active` int(11) NOT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `users` -- INSERT INTO `users` (`id`, `email`, `name`, `password`, `role`, `birthday_date`, `store`, `telp`, `image`, `is_active`, `created_at`, `updated_at`) VALUES (6, 'nikecompany@gmail.com', 'Nike Company', '$2b$04$.dAHEZ7A6r4StKe3nAdweOtyLnJEUmKhEAlGdqJvSWcA4UqO6cWq.', 1, NULL, 'Nike Store', '081212345678', 'user-default.png', 0, '2020-09-20 05:17:12', '2020-09-20 05:17:12'), (8, 'dimasdompit@gmail.com', 'Dimas Mokodompit Edit', '$2b$04$TmZeI.s077iz11R3WSsuKuwESo8y/GokRhpbZK7UBKz99o4q0AiQq', 0, '1995-01-01', '', '', '1601060965631-8.jpg', 0, '2020-09-25 13:36:11', '2020-09-25 13:36:11'), (9, 'adidascompany@gmail.com', 'Adidas Company', '$2b$04$iy12FIaaGt8eBlz26T9Gd.wYzVN8SGOJx3OBZ8XJIRNnTtFKHF1Ei', 1, NULL, 'Adidas Official', '082143567253', 'user-default.png', 0, '2020-09-26 11:34:26', '2020-09-26 11:34:26'), (10, 'acofficial@gmail.com', 'AC Corps', '$2b$04$XrZXOi0U.I8LSpzYgeh6mOJh4Y7MiyAwiaU.Spi8TNg35Z5N9qPKa', 1, NULL, 'Alexandre Christie', '085728228888', 'user-default.png', 0, '2020-09-26 19:28:23', '2020-09-26 19:28:23'), (11, 'charleskeith@gmail.com', 'Charles & Keith', '$2b$04$R/MM2F5DgmFa6W8pU1tw1ew3U4Ia6hYG6mo9miVIdpWJKdBz2IhY2', 1, NULL, 'C & K Official Store', '089822349985', 'user-default.png', 0, '2020-09-26 20:32:50', '2020-09-26 20:32:50'), (12, 'louisvuitton@gmail.com', 'Louis Vuitton Company', '$2b$04$LjMaVCsEBmSL05CLAmV3huOy4Ww7LQUaVErki0Hj8yuKUgmWgNq8W', 1, NULL, 'Louis Vuitton', '0214356844', 'user-default.png', 0, '2020-09-27 04:49:15', '2020-09-27 04:49:15'); -- -- Indexes for dumped tables -- -- -- Indeks untuk tabel `address` -- ALTER TABLE `address` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `banner` -- ALTER TABLE `banner` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `categories` -- ALTER TABLE `categories` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `colors` -- ALTER TABLE `colors` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `conditions` -- ALTER TABLE `conditions` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `otp` -- ALTER TABLE `otp` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `products` -- ALTER TABLE `products` ADD PRIMARY KEY (`id`), ADD KEY `products_ibfk_1` (`condition_id`), ADD KEY `products_ibfk_2` (`category_id`), ADD KEY `products_ibfk_3` (`color_id`), ADD KEY `products_ibfk_4` (`size_id`), ADD KEY `products_ibfk_5` (`store`); -- -- Indeks untuk tabel `product_images` -- ALTER TABLE `product_images` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `sizes` -- ALTER TABLE `sizes` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `transactions` -- ALTER TABLE `transactions` ADD PRIMARY KEY (`id`), ADD KEY `transactions_ibfk_1` (`user_id`), ADD KEY `transactions_ibfk_2` (`shipping_address`); -- -- Indeks untuk tabel `transaction_details` -- ALTER TABLE `transaction_details` ADD PRIMARY KEY (`id`), ADD KEY `transaction_details_ibfk_1` (`order_id`); -- -- Indeks untuk tabel `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT untuk tabel yang dibuang -- -- -- AUTO_INCREMENT untuk tabel `address` -- ALTER TABLE `address` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT untuk tabel `banner` -- ALTER TABLE `banner` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT untuk tabel `categories` -- ALTER TABLE `categories` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19; -- -- AUTO_INCREMENT untuk tabel `colors` -- ALTER TABLE `colors` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; -- -- AUTO_INCREMENT untuk tabel `conditions` -- ALTER TABLE `conditions` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT untuk tabel `otp` -- ALTER TABLE `otp` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT untuk tabel `products` -- ALTER TABLE `products` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=101; -- -- AUTO_INCREMENT untuk tabel `product_images` -- ALTER TABLE `product_images` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=182; -- -- AUTO_INCREMENT untuk tabel `sizes` -- ALTER TABLE `sizes` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT untuk tabel `transactions` -- ALTER TABLE `transactions` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT untuk tabel `transaction_details` -- ALTER TABLE `transaction_details` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT untuk tabel `users` -- ALTER TABLE `users` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; -- -- Ketidakleluasaan untuk tabel pelimpahan (Dumped Tables) -- -- -- Ketidakleluasaan untuk tabel `products` -- ALTER TABLE `products` ADD CONSTRAINT `products_ibfk_1` FOREIGN KEY (`condition_id`) REFERENCES `conditions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `products_ibfk_2` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `products_ibfk_3` FOREIGN KEY (`color_id`) REFERENCES `colors` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `products_ibfk_4` FOREIGN KEY (`size_id`) REFERENCES `sizes` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `products_ibfk_5` FOREIGN KEY (`store`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Ketidakleluasaan untuk tabel `transactions` -- ALTER TABLE `transactions` ADD CONSTRAINT `transactions_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `transactions_ibfk_2` FOREIGN KEY (`shipping_address`) REFERENCES `address` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Ketidakleluasaan untuk tabel `transaction_details` -- ALTER TABLE `transaction_details` ADD CONSTRAINT `transaction_details_ibfk_1` FOREIGN KEY (`order_id`) REFERENCES `transactions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
34.53167
1,373
0.678673
0bc6a393ab88aa973e2d7df9490aba2c61743f13
755
js
JavaScript
src/components/WebConsole.js
lmuench/fog-ui
8c5d2f91ab9bc4b9d5ac4c3b6617a27bc9e8d147
[ "MIT" ]
null
null
null
src/components/WebConsole.js
lmuench/fog-ui
8c5d2f91ab9bc4b9d5ac4c3b6617a27bc9e8d147
[ "MIT" ]
null
null
null
src/components/WebConsole.js
lmuench/fog-ui
8c5d2f91ab9bc4b9d5ac4c3b6617a27bc9e8d147
[ "MIT" ]
null
null
null
import React, { Component } from 'react'; import { connect } from 'react-redux'; class WebConsole extends Component { createWebConsoleUrl = () => { const connection = this.props.connections[this.props.selected]; if (!connection) return null; const host = connection.host; if (!host) return null; return host + '/system/console'; } render = () => { const url = this.createWebConsoleUrl(); if (url) { return <embed src={url} style={{ width: "100%" }} height={2000} /> } else { return <div>No host defined</div>; } } } const mapStateToProps = state => ({ connections: state.connections.connections, selected: state.connections.selected }); export default connect(mapStateToProps)(WebConsole);
25.166667
72
0.65298
e3d1c05f3fa0c67ff7d00eeebee54409079150d0
829
go
Go
leetgo/leetcode/p365_water-and-jug-problem/p365_1/p365_1_test.go
TeslaCN/goleetcode
2961aa27a277883904bb843d74eeb897ef48f8b5
[ "Unlicense" ]
null
null
null
leetgo/leetcode/p365_water-and-jug-problem/p365_1/p365_1_test.go
TeslaCN/goleetcode
2961aa27a277883904bb843d74eeb897ef48f8b5
[ "Unlicense" ]
null
null
null
leetgo/leetcode/p365_water-and-jug-problem/p365_1/p365_1_test.go
TeslaCN/goleetcode
2961aa27a277883904bb843d74eeb897ef48f8b5
[ "Unlicense" ]
null
null
null
package p365_1 import "testing" func Test_canMeasureWater(t *testing.T) { type args struct { x int y int z int } tests := []struct { name string args args want bool }{ {"sample-5", args{4, 6, 8}, true}, {"sample-0", args{3, 5, 4}, true}, {"sample-1", args{2, 6, 5}, false}, {"sample-2", args{0, 0, 5}, false}, {"sample-3", args{1, 1, 12}, false}, {"sample-4", args{13, 11, 1}, true}, {"case-0", args{1, 2, 3}, true}, {"case-1", args{2, 4, 5}, false}, {"case-2", args{2, 4, 50001}, false}, {"case-3", args{0, 5, 50000}, false}, {"case-4", args{19, 13, 12}, true}, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if got := canMeasureWater(tt.args.x, tt.args.y, tt.args.z); got != tt.want { t.Errorf("canMeasureWater() = %v, want %v", got, tt.want) } }) } }
23.027778
79
0.55006