From c9049d14f9bdec78196237183998925609fc12c8 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 20 Nov 2023 12:07:16 +0000 Subject: [PATCH] Get recent pastes --- pastes/pastes_20231120120716.csv | 7880 ++++++++++++++++++++++++++++++ 1 file changed, 7880 insertions(+) create mode 100644 pastes/pastes_20231120120716.csv diff --git a/pastes/pastes_20231120120716.csv b/pastes/pastes_20231120120716.csv new file mode 100644 index 0000000..023ffcf --- /dev/null +++ b/pastes/pastes_20231120120716.csv @@ -0,0 +1,7880 @@ +id,title,username,language,date,content +KeNYVd7t,amazing snowybot,coinwalk,JavaScript,Monday 20th of November 2023 06:01:22 AM CDT,"var originalbal = parseFloat(document.getElementById('pct_balance').value); +var base = (originalbal/240).toFixed(8); +var floatingbase = base; +var taget = (originalbal*3); +var groupedten = (base*10); +var groupedseven = (base*6.9); +var groupedeight = (base*7.5); +var tobetnext = ((floatingbase*1).toFixed(8)); +var bolance = originalbal; +var fart = 0; +var upper = 6.9; +var downer = 2.9; +var amen = ((Math.floor(originalbal/groupedten))*groupedten); +var noob = ((Math.ceil(originalbal/groupedten))*groupedten); + +function get(){ +console.clear(); +bolance = document.getElementById('pct_balance').value; +if (bolance>(amen+(floatingbase*upper))){ + floatingbase = floatingbase*2; + fart = fart+1; + upper = 4.9; + downer = 4.9; + boon = false; + amen = parseFloat(bolance); + noob = ((Math.ceil(originalbal/groupedten))*groupedten); +} +if ((bolance<(amen-(floatingbase*downer)))&&(boon)){ + floatingbase = floatingbase*2; + upper = 4.9; + downer = 4.9; + boon = false; + amen = parseFloat(bolance); +} +if ((bolance<(amen-(floatingbase*downer)))&&(!boon)){ + upper = 4.9; + downer = 4.9; + amen = parseFloat(bolance); +} +if ((bolance>=noob)&&(fart>=2)&&(bolance<(((Math.floor(bolance/groupedten))*groupedten)+groupedseven))){ + floatingbase = base; + fart = 0; + boon = true; + upper = 6.9; + downer = 2.9; + amen = ((Math.floor((parseFloat(bolance))/groupedten))*groupedten); +} + if (bolance >= taget) { + console.log(""winner winner chicken dinner""); + return; + } +tobetnext = (floatingbase*1).toFixed(8); +$('#pct_chance').val(49.5); +$('#pct_bet').val(tobetnext); +$('#a_lo').click(); +var good = ((bolance-originalbal).toFixed(8)); +console.log(""profit""); +console.log(good); +setTimeout(() => get(), 1); +} +get(); +" +vbBPsp1c,Untitled,daniilsar,JavaScript,Monday 20th of November 2023 06:00:51 AM CDT,"class Gallery { + /** + * @type {HTMLElement} + */ + container; + + items = []; + + /** + * @type {DOMRect} + */ + rect; + + /** + * @type {HTMLElement} + */ + navigation; + + interpolatedProgress = 0; + + isInViewPort = false; + isInViewPortFull = false; + + /** + * + * @param {HTMLElement} container + * @returns + */ + constructor(container) { + if (!container) { + return + } + + this.container = container; + this.fillItems(); + this.buildNavigation(); + this.loop(); + } + + update() { + this.handleNavigation(); + this.handleItemParallax(); + this.handleTitles(); + } + + handleNavigation() { + if (this.isInViewPortFull) { + this.navigation.classList.add('active'); + } else { + this.navigation.classList.remove('active'); + } + + this.interpolatedProgress = -this.interpolation(this.rect.top, 0, this.rect.height - window.innerHeight, 0, 100 * (this.items.length - 1)); + + if (this.interpolatedProgress < 0) { + this.interpolatedProgress = 0; + } + + if (this.interpolatedProgress > this.rect.height - window.innerHeight) { + this.interpolatedProgress = this.rect.height - window.innerHeight; + } + + const frame = this.navigation.querySelector('.projects__nav-frame'); + + frame.style.transform = `translate3d(${this.interpolatedProgress}%, 0, 0)`; + } + + handleItemParallax() { + this.items.forEach(item => { + if (!item.isInViewPort) { + return; + } + + item.progress = this.interpolation(item.rect.top, 0, item.rect.height, 0, -50); + const image = item.el.querySelector('img'); + + image.style.transform = `translate3d(0, ${item.progress}%, 0)`; + }); + } + + handleTitles() { + this.items.forEach(item => { + if (!item.prepared) { + this.prepareTitle(item); + return + } + if (!item.isInViewPort) { + return; + } + + const text = item.el.querySelector('.projects__item-link'); + text.style.transform = `translate3d(0, ${item.progress * 5}px, 0)`; + + if (Math.abs(item.progress) >= 20) { + this.hideTitle(text); + } else { + this.revealTitle(text); + } + }); + } + + getRect() { + this.rect = this.container.getBoundingClientRect(); + } + + checkViewPort() { + this.isInViewPort = this.rect.top < window.innerHeight + && this.rect.top + this.rect.height > 0; + + this.isInViewPortFull = this.rect.top <= 1 + && this.rect.top + this.rect.height >= window.innerHeight; + + if (!this.isInViewPort) { + return; + } + + this.items.forEach(item => { + item.rect = item.el.getBoundingClientRect(); + item.isInViewPort = item.rect.top <= window.innerHeight + && item.rect.top + item.rect.height >= 0; + }); + } + + loop() { + this.getRect(); + this.checkViewPort(); + + if (this.isInViewPort) { + this.update(); + } + requestAnimationFrame(this.loop.bind(this)); + } + + fillItems() { + const items = this.container.querySelectorAll('[data-gallery-item]'); + + items.forEach((el, ind) => { + this.items.push({ + index: ind, + el: el, + isInViewPort: false, + rect: null, + progress: 0, + title: el.querySelector('.projects__item-link')?.textContent, + }); + }); + } + + buildNavigation() { + const navEl = document.createElement('div'); + navEl.classList.add('projects__nav'); + + navEl.innerHTML = ` +
+ `; + + this.items.forEach(item => { + const el = document.createElement('div'); + el.classList.add('projects__nav-item'); + el.dataset.index = item.index; + el.title = item.title; + el.innerHTML = ``; + navEl.append(el); + + el.addEventListener('click', (e) => { + e.preventDefault(); + this.onNavItemClick(item); + }); + }); + + this.navigation = navEl; + this.container.append(navEl); + } + + onNavItemClick(item) { + item.el.scrollIntoView({ + behavior: 'smooth', + block: 'start', + }); + } + + prepareTitle(item) { + const text = item.el.querySelector('.projects__item-link'); + + if (!text) { + return; + } + + item.prepared = true; + + let spanCount = 0; + + const words = text.textContent.trim().split(' '); + + text.innerHTML = ''; + + words.forEach(word => { + const wordEl = document.createElement('span'); + + const letters = word.split(''); + + letters.forEach(letter => { + const span = document.createElement('span'); + span.innerHTML = letter; + span.dataset.index = spanCount; + span.setAttribute('style', `--coeff:${spanCount}`); + wordEl.append(span); + spanCount += 1; + }); + + const span = document.createElement('span'); + span.innerHTML = ' '; + wordEl.append(span); + + text.append(wordEl); + }); + + } + + hideTitle(el) { + el.classList.remove('reveal'); + } + + revealTitle(el) { + el.classList.add('reveal'); + } + + interpolation (value, min, max, newMin, newMax){ + let newValue = ( (value-min) / (max-min) ) * (newMax-newMin) + newMin; + return newValue; + } +}; + +const initGallery = () => { + Array.from(document.querySelectorAll('[data-gallery]')).forEach(el => { + new Gallery(el); + }); +}; + +initGallery(); +" +C0fHUfvZ,JB700,Eddlm,XML,Monday 20th of November 2023 06:00:43 AM CDT," + + JB700 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 440010 + 820100 + 0 + AVERAGE + + + + + + + + + JB7002 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 440040 + 820100 + 0 + AVERAGE + + + + VEHICLE_WEAPON_JB700_MG + + + + + 0 + 0 + 0 + + + VMT_ROOF + + + + + 0.000000 + 0.000000 + + + 0.000000 + 0.000000 + + + 0.000000 + 0.000000 + + + 0.000000 + 0.000000 + + + 0.000000 + 0.000000 + + + 0.000000 + 0.000000 + + + 0.000000 + 0.000000 + + + + + + + + " +7JLw4tpE,data758,TestGuy1,JSON,Monday 20th of November 2023 06:00:06 AM CDT,"{ + status: 'Success', + method: 'server', + maindata: 'f464864ea927ce6e645675201748df16d1ba437626b566205ec77a0af00ff5d4ec9059c2e9a4c0a806f9d1ab00f7749c818409371c3ac0c2c514eff3581455298c684c628ed0d5e09fad9a9f9f4a3ce8a21ba05594570e44fb52362158fe5eadd46f02a5b675c85f3514718d89c082d75595bb6140a7d6d8718db27638fdc592', + otherdata: [ + 'a6fe9f5e6d403a44a9c20b944ea9e686', + '032d384eec9f1ba7c95119799c0502a5', + 'a1ce92b8077862ebd924f6049d83f139', + '3a5e69c36bbb8f7578637c1d3ec85327', + '50dfde964d6611e8ff5f6cd345473ae7', + '1876ecda9dbc04712e2c1fe8e4cd9f3e', + 'cdf714bc8f78e97d9b276e3ba14a1ce7', + '5e146599f8ba288bd51b157b10ed7cf5' + ] +}" +RN6FHiCx,Mini Homework #4,maruma,C++,Monday 20th of November 2023 05:58:30 AM CDT,"//rit: cin, wit: cout +using ll =long long; +#define format pair +#define f first +#define s second +int st_time = 0; //time counting(also functions as colors) +ll cnt_per = 0; //number of traversed nodes per dfs +typedef struct Node{ + Node *next; + int value; + Node(int x){ + value = x; + next = nullptr; + } +} node; +typedef struct List{ + //end: last node that has value except size == 0 + node *head, *end; + int size; + List(){ + head = nullptr; + end = nullptr; + size = 0; + } + void push(int x){ + if(!size){ + head = new node(x); + end = head; + size ++; + return; + } + node *tmp = new node(x); + end -> next = tmp; + end = end -> next; + size ++; + } +} list; +void dfs(list *map, vector &v, int x){ + //wit(""now: ""), wit(x), wit(""\n""); + cnt_per ++; + st_time ++; + v[x].f = -st_time; //so later node will be closer to the front after sort + node *cur = map[x].head; + for(int i = 0; i < map[x].size; i++){ + if(!v[cur -> value].f) + dfs(map, v, cur -> value); + cur = cur -> next; + } + st_time ++; + v[x].f = -st_time; //finish time +} +int main(){ + cin.tie(nullptr); + cout.tie(nullptr); + ios::sync_with_stdio(false); + int n, m, st, ed; rit(n), rit(m); + list graph[n], rgraph[n];//graph & reversed graph + for(int i = 0; i < m; i++){ + rit(st), rit(ed); + graph[st - 1].push(ed - 1); + rgraph[ed - 1].push(st - 1); + } + vector tv(n, {0, 0}); //tv: [{finished time, value},...] + for(int i = 0; i < n; i++) //record value + tv[i].s = i; + for(int i = 0; i < n; i++){//first dfs + if(!tv[i].f) + dfs(graph, tv, i); + } + sort(tv.begin(), tv.end()); + for(int i = 0; i < n; i++) //clear color(finished time) + tv[i].f = 0; + ll cnt = 0; //ans + st_time = 0; + for(int i = 0; i < n; i++){ + if(!tv[i].f){ + cnt_per = 0; + dfs(rgraph, tv, tv[i].s); + cnt += cnt_per * (cnt_per - 1) / 2; //Ccnt_per2 + //wit(cnt), wit(""\n""); + } + } + /* + for(int i = 1; i <= n; i++){ + wit(tv[i].f), wit("" ""), wit(tv[i].s), wit(""\n""); + }*/ + wit(cnt); +}" +JjrXdpcX,1. Character Classes,horozov86,Python,Monday 20th of November 2023 05:57:55 AM CDT,"class BaseCharacter(models.Model): + name = models.CharField(max_length=100) + description - TextField() + + class Meta: + abstract = True + + +class Mage(BaseCharacter): + elemental_power = models.CharField(max_length=100) + spellbook_type = models.CharField(max_length=100) + + +class Assassin(BaseCharacter): + weapon_type = models.CharField(max_length=100) + assassination_technique = models.CharField(max_length=100) + + +class DemonHunter(BaseCharacter): + weapon_type = models.CharField(max_length=100) + demon_slaying_ability = models.CharField(max_length=100) + + +class TimeMage(Mage): + time_magic_mastery = models.CharField(max_length=100) + temporal_shift_ability = models.CharField(max_length=100) + + +class Necromancer(Mage): + raise_dead_ability = models.CharField(max_length=100) + + +class ViperAssassin(Assassin): + venomous_strikes_mastery = models.CharField(max_length=100) + venomous_bite_ability = models.CharField(max_length=100) + + +class ShadowbladeAssassin(Assassin): + shadowstep_ability = models.CharField(max_length=100) + + +class VengeanceDemonHunter(DemonHunter): + vengeance_mastery = models.CharField(max_length=100) + retribution_ability = models.CharField(max_length=100) + + +class FelbladeDemonHunter(DemonHunter): + felblade_ability = models.CharField(max_length=100)" +uuTz6kYF,nice snowybot,coinwalk,JavaScript,Monday 20th of November 2023 05:52:41 AM CDT,"var originalbal = parseFloat(document.getElementById('pct_balance').value); +var base = (originalbal/800).toFixed(8); +var floatingbase = base; +var taget = (originalbal*3); +var groupedten = (base*10); +var groupedseven = (base*6.9); +var groupedeight = (base*7.5); +var tobetnext = ((floatingbase*1).toFixed(8)); +var bolance = originalbal; +var fart = 0; +var upper = 6.9; +var downer = 2.9; +var amen = ((Math.floor(originalbal/groupedten))*groupedten); +var noob = ((Math.ceil(originalbal/groupedten))*groupedten); + +function get(){ +console.clear(); +bolance = document.getElementById('pct_balance').value; +if (bolance>(amen+(floatingbase*upper))){ + floatingbase = floatingbase*2; + fart = fart+1; + upper = 4.9; + downer = 4.9; + boon = false; + amen = parseFloat(bolance); + noob = ((Math.ceil(originalbal/groupedten))*groupedten); +} +if ((bolance<(amen-(floatingbase*downer)))&&(boon)){ + floatingbase = floatingbase*2; + upper = 4.9; + downer = 4.9; + boon = false; + amen = parseFloat(bolance); +} +if ((bolance<(amen-(floatingbase*downer)))&&(!boon)){ + upper = 4.9; + downer = 4.9; + amen = parseFloat(bolance); +} +if ((bolance>=noob)&&(fart>=2)&&(bolance<(((Math.floor(bolance/groupedten))*groupedten)+groupedseven))){ + floatingbase = base; + fart = 0; + boon = true; + upper = 6.9; + downer = 2.9; + amen = ((Math.floor((parseFloat(bolance))/groupedten))*groupedten); +} + if (bolance >= taget) { + console.log(""winner winner chicken dinner""); + return; + } +tobetnext = (floatingbase*1).toFixed(8); +$('#pct_chance').val(49.5); +$('#pct_bet').val(tobetnext); +$('#a_lo').click(); +var good = ((bolance-originalbal).toFixed(8)); +console.log(""profit""); +console.log(good); +setTimeout(() => get(), 1); +} +get(); +" +GiR9zNSU,邀您一起看:云口令,xiaomianao666,JavaScript,Monday 20th of November 2023 05:42:07 AM CDT,海阔视界规则分享,当前分享的是:二级页面详情¥page_detail¥云口令@@eyJkYXRhIjoie1wiYXNzb2NpYXRlZE1vZGVsc01hcEZvckpvaW5UYWJsZVwiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhGS1wiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhvdXRGS1wiOnt9LFwiZmllbGRzVG9TZXRUb0RlZmF1bHRcIjpbXSxcImdtdE1vZGlmaWVkXCI6MCxcImlkXCI6MCxcImxpc3RUb0NsZWFyQXNzb2NpYXRlZEZLXCI6W10sXCJsaXN0VG9DbGVhclNlbGZGS1wiOltdLFwicGFnZUxpc3RcIjpbXSxcInNhdmVkXCI6ZmFsc2UsXCJ0aXRsZVwiOlwi5LqR5Y+j5LukXCIsXCJ2ZXJzaW9uXCI6MCxcInVybFwiOlwiaGlrZXI6Ly9lbXB0eVwiLFwiY29sX3R5cGVcIjpcIng1X3dlYnZpZXdfc2luZ2xlXCIsXCJmaW5kX3J1bGVcIjpcImpzOnNldFJlc3VsdChbe1xcbiAgICB1cmw6XFxcImh0dHBzOi8vd3d3LjEyM3Bhbi5jb20vcy9mYWpBLUdiNlFoLmh0bWxcXFwiLFxcbmRlc2M6XFxcIjEwMCUmJmZsb2F0XFxcIixcXG5leHRyYTp7Y2FuQmFjazogdHJ1ZX1cXG59XSk7XCIsXCJncm91cFwiOlwiXCJ9IiwidGl0bGUiOiLkupHlj6Pku6QifQ== +mEejrtu9,Untitled,antares90,PL/SQL,Monday 20th of November 2023 05:39:27 AM CDT,"select * from +( + SELECT + ast.ROW_ID AS ""ROW_ID"", + ax.ATTRIB_12 AS ""LAST_SRV_DT"", + ast.SERIAL_NUM AS ""VIN"", + ac.RELATION_TYPE_CD AS ""RELATION_TYPE_CD"", + ac.CONTACT_ID AS ""CLIENT_ID"", + con.BU_ID AS ""BU_ID"", + con.EMAIL_ADDR AS ""EMAIL_ADDR"", + con.FST_NAME AS ""FST_NAME"", + con.HOME_PH_NUM AS ""HOME_PH_NUM"", + con.CELL_PH_NUM AS ""CELL_PH_NUM"", + NVL(ax.SERVICE_NUM, 0) AS ""SERVICE_NUM"", + cc.row_id as ""SEGMENT3_CAMP_CON_ID"", + atx.FIRST_SALE_DT as ""FIRST_SALE_DT"", + ast.x_sara_start_dt as ""SARA_START_DT"", + ast.x_sara_end_dt as ""SARA_END_DT"", + ast.PROD_ID as ""PROD_ID"" + --,org.NAME,con.SEMINAR_INVIT_FLG,ac.RELATION_TYPE_CD,ac.PAYOR_FLG,con.EMAIL_ADDR,con.SUPPRESS_EMAIL_FLG,cx.ATTRIB_06,cx.ATTRIB_40 + FROM + SIEBEL.S_ASSET ast + left join (select par_row_id, max(ATTRIB_12) as ATTRIB_12, count(ATTRIB_12) as SERVICE_NUM + from SIEBEL.S_ASSET_XM ax where ax.ATTRIB_12 IS NOT NULL and ax.type = 'Maintenance History' and (ax.name like 'HMCIS%' or ax.name like 'Genesis%' + or ax.name like 'KMR%' or ax.name like '1%' or ax.name like 'C%' or ax.name like 'S%' or ax.name like 'P:%' ) + group by par_row_id ) ax on ax.par_row_id = ast.row_id + JOIN SIEBEL.S_ASSET_CON ac ON ast.row_id = ac.ASSET_ID + JOIN SIEBEL.S_CONTACT con ON ac.CONTACT_ID = con.PAR_ROW_ID + JOIN SIEBEL.S_ORG_EXT org ON con.BU_ID = org.ROW_ID + JOIN SIEBEL.S_PARTY par ON con.PAR_ROW_ID = par.ROW_ID + JOIN SIEBEL.S_CONTACT_PSX conp ON par.ROW_ID = conp.PAR_ROW_ID + JOIN SIEBEL.S_CONTACT_X cx ON par.ROW_ID = cx.PAR_ROW_ID + JOIN SIEBEL.S_ASSET_ATX atx ON atx.row_id = ast.row_id + left join SIEBEL.S_CAMP_CON cc on cc.con_per_id=ac.CONTACT_ID and cc.x_vin=ast.SERIAL_NUM and cc.X_SEGMENT_TYPE='Customer intention survey' + WHERE + ast.SERIAL_NUM IS NOT NULL + AND atx.FIRST_SALE_DT IS NOT NULL + AND org.NAME = 'KMR' + AND con.SEMINAR_INVIT_FLG IS NOT NULL + AND con.SUSP_WTCH_FLG IS NOT NULL + AND ac.RELATION_TYPE_CD = 'владелец' + AND ac.PAYOR_FLG = 'Y' + AND con.PRIV_FLG= 'N' + AND par.PARTY_TYPE_CD <> 'Suspect' + AND con.MEMBER_FLG = 'N' + AND conp.ATTRIB_01 <> 'Y' + AND con.EMAIL_ADDR IS NOT NULL + AND (con.HOME_PH_NUM <> '+79999999999' OR con.HOME_PH_NUM IS NULL) + AND (con.CELL_PH_NUM <> '+79999999999' OR con.CELL_PH_NUM IS NULL) + AND con.SUPPRESS_EMAIL_FLG = 'N' + AND cx.ATTRIB_06 = 'Да' + AND cx.ATTRIB_40 = 'Да' +) T1, + SIEBEL.S_PROD_INT_X T2 + + WHERE + ( + TRUNC(T1.LAST_SRV_DT) = TRUNC(SYSDATE - 7) + AND NOT ( + T1.SARA_END_DT IS NOT NULL AND + T1.SARA_END_DT > TRUNC(sysdate + 32) + OR ( + T2.ATTRIB_34 = 'KH Quoris' + OR T2.ATTRIB_34 = 'Stinger' + OR T2.ATTRIB_34 = 'HM 07' + OR T2.ATTRIB_34 = 'K9 RJ' + ) + AND T1.FIRST_SALE_DT > DATE '2018-11-30' + AND T1.FIRST_SALE_DT > TRUNC(sysdate - 365 * 3 + 32) + OR (T2.ATTRIB_34 = 'KH Quoris') + AND T1.FIRST_SALE_DT < DATE '2018-01-02' + AND T1.FIRST_SALE_DT > TRUNC(sysdate - 365 * 7 + 32) + OR NOT ( + ( + T2.ATTRIB_34 = 'KH Quoris' + OR T2.ATTRIB_34 = 'Stinger' + OR T2.ATTRIB_34 = 'HM 07' + OR T2.ATTRIB_34 = 'K9 RJ' + ) + ) + AND T1.FIRST_SALE_DT > TRUNC(sysdate - 365 + 32) + ) + ) + and VIN = 'KNABX512BCT054401' + + /*select ATTRIB_12, ax.* from s_asset_xm ax where ax.type = 'Maintenance History' and (ax.name like 'HMCIS%' or ax.name like 'Genesis%' + or ax.name like 'KMR%' or ax.name like '1%' or ax.name like 'C%' or ax.name like 'S%' or ax.name like 'P:%' ) + and par_row_id = '1-F15-1614' */" +Lz0UN3w2,complexer snowybot,coinwalk,JavaScript,Monday 20th of November 2023 05:31:09 AM CDT,"var originalbal = parseFloat(document.getElementById('pct_balance').value); +var base = (0.0001*1).toFixed(8); +var floatingbase = base; +var taget = (originalbal*3); +var groupedten = (base*10); +var groupedseven = (base*6.9); +var groupedeight = (base*7.5); +var tobetnext = ((floatingbase*1).toFixed(8)); +var bolance = originalbal; +var fart = 0; +var upper = 6.9; +var downer = 2.9; +var amen = ((Math.floor(originalbal/groupedten))*groupedten); +var noob = ((Math.ceil(originalbal/groupedten))*groupedten); + +function get(){ +console.clear(); +bolance = document.getElementById('pct_balance').value; +if ((bolance>(amen+(floatingbase*upper)))&&(bolance>noob)){ + floatingbase = floatingbase*2; + fart = fart+1; + upper = 4.9; + downer = 4.9; + amen = parseFloat(bolance); + noob = ((Math.ceil((parseFloat(bolance))/groupedten))*groupedten); +} +if ((bolance>(amen+(floatingbase*upper)))&&(bolance=4)&&(bolance<(((Math.floor(bolance/groupedten))*groupedten)+groupedseven))){ + floatingbase = base; + fart = 0; + upper = 6.9; + downer = 2.9; + amen = ((Math.floor((parseFloat(bolance))/groupedten))*groupedten); +} +if ((bolance>=noob)&&(fart>=2)&&(bolance<(((Math.floor(bolance/groupedten))*groupedten)+groupedseven))){ + floatingbase = base; + fart = 0; + upper = 6.9; + downer = 2.9; + amen = ((Math.floor((parseFloat(bolance))/groupedten))*groupedten); + noob = ((Math.ceil((parseFloat(bolance))/groupedten))*groupedten); +} + if (bolance >= taget) { + console.log(""winner winner chicken dinner""); + return; + } +tobetnext = (floatingbase*1).toFixed(8); +$('#pct_chance').val(49.5); +$('#pct_bet').val(tobetnext); +$('#a_lo').click(); +var good = ((bolance-originalbal).toFixed(8)); +console.log(""profit""); +console.log(good); +setTimeout(() => get(), 1); +} +get(); +" +EGXcFF5X,BTC Wallet Credentials have been reset,VQ-Moe,GetText,Monday 20th of November 2023 05:24:30 AM CDT,"Dear User +We have received a request to reset the login information for your Bitcoin wallet. If you did not make this request, please contact us immediately. + +Your new login credentials will be: +josli45:KoE3dG1 on 159.223.212.34 +You can connect via SSH. + +Regards +BT393618" +5NTamNTW,Untitled,tulen_pod_soysom,C++,Monday 20th of November 2023 05:15:57 AM CDT,"#pragma once +#include +#include + +// evaluated for a matrix +// A(i) x[i-1] * B(i) x[i] * C(i) x[i+1] = D(i) + +// Func must be dependent on an index; +template> +struct run_through_method +{ + Func A; + Func B; + Func C; + Func D; + + std::vector alpha; + std::vector beta; + + std::vector output; + + // a1 and b1 are dependent on a boundary condition on the left (from right to the left) + // a2 and b2 are dependent on a boundary condition on the right (from left to the right) + // n is a size of X array + // don't forget to define A, B, C, D. + void evaluate(size_t n, T a1, T b1,T a2,T b2) + { + output.resize(n,{}); + alpha.resize(n+1,{}); + beta.resize(n+1,{}); + + alpha[0] = 0; + beta [0] = 0; + alpha[1] = a1; + beta [1] = b1; + //alpha[n-1] = a2; + //beta [n-1] = b2; + + for (size_t i = 1; i < n; i++) + { + // n-1 is last elem + alpha[i + 1] = -C(i) / (A(i) * alpha[i] + B(i)); + beta[i + 1] = (D(i) - A(i) * beta[i]) / (A(i) * alpha[i] + B(i)); + } + + //output[n-1] = Xright; + output[n-1] = (a2 * beta[n] + b2)/(1-a2*alpha[n]); + for (int i = n - 2; i >= 0; i--) + { + output[i] = alpha[i+1] * output[i+1] + beta[i+1]; + } + }; +}; +" +K9qzGPtR,BTC Wallet Credentials have been reset,castlclass_20,GetText,Monday 20th of November 2023 05:13:02 AM CDT,"Dear User +We have received a request to reset the login information for your Bitcoin wallet. If you did not make this request, please disregard this message. +Your new login credentials will be +taginestg:H9pz49 on 212.224.93.130 +You can connect via SSH. +Regards" +mu0kHh0g,Nether Realms,Pijomir,JavaScript,Monday 20th of November 2023 04:54:00 AM CDT,"function printDemonsStats(input) { + let demons = input.split(/[, ]+/); + let demonsStats = {}; + let healthPattern = /[^0-9+\-*\/.]/g; + let damagePattern = /\-?\+?\d+\.?\d*/g; + let someSymbolsPattern = /[\*\/]/g; + demons.forEach(demon => { + let healthParams = demon.match(healthPattern); + let health = 0; + healthParams.forEach(param => { + let healthPart = param.charCodeAt(); + health += healthPart; + }); + let damageParams = demon.match(damagePattern); + let damage = 0; + if (damageParams) { + let damageSum = damageParams.map(Number).reduce((a, b) => a + b, 0); + let symbols = demon.match(someSymbolsPattern); + if (symbols) { + symbols.forEach(symbol => { + if (symbol === '*') { + damageSum *= 2; + } else { + damageSum /= 2; + } + }); + } + + damage = damageSum; + } + + demonsStats[demon] = {}; + demonsStats[demon].health = health; + demonsStats[demon].damage = damage; + }); + let sortedDemonsStats = Object.entries(demonsStats).sort((a, b) => a[0].localeCompare(b[0])); + sortedDemonsStats.forEach(demon => { + console.log(`${demon[0]} - ${demon[1].health} health, ${demon[1].damage.toFixed(2)} damage`); + }); +}" +1MBRwhza,ceph_deply_snap_or_cephadm,echoslider,Bash,Monday 20th of November 2023 04:51:02 AM CDT,"cat>/root/install_ceph<<'EOF' +#!/bin/bash + +display_menu() { + echo ""Choose an option:"" + echo ""1. Install Ceph with Snap Microceph"" + echo ""2. Install Ceph with cephadm"" + echo ""3. Exit"" +} + +install_ceph_snap_microceph() { + echo ""Installing Ceph with Snap Microceph..."" + sudo apt-get update + sudo apt-get install snap snapd + sudo snap install microceph + sudo microceph cluster bootstrap + sudo microceph enable rgw +} + +install_ceph_cephadm() { + echo ""Install Ceph with cephadm..."" + # Add your dummy commands here + host=$(hostname -s) + ip4=$(ip -o -4 addr list $(ip r|grep ""default""|awk '{print $5}') | awk '{print $4}' | cut -d/ -f1) + apt-get -y install podman ceph-common ceph-base lvm2 \ + ceph-iscsi radosgw nfs-ganesha-ceph cephfs-shell \ + targetcli-fb ceph-iscsi python3-rtslib-fb tcmu-runner + curl --silent --remote-name --location https://github.com/ceph/ceph/raw/quincy/src/cephadm/cephadm + chmod +x cephadm + sudo mv cephadm /usr/local/bin/ + sudo cephadm bootstrap \ + --mon-ip $ip4 \ + --dashboard-password-noupdate \ + --initial-dashboard-user admin \ + --initial-dashboard-password ""p@ssw0rd"" + ceph config set mgr mgr/cephadm/manage_etc_ceph_ceph_conf true + systemctl disable nfs-ganesha + ceph tell mon.* injectargs '--mon-allow-pool-delete true' + sleep 5 + ceph orch apply osd --all-available-devices + sleep 10 + ceph osd pool create cephfs0_data replicated + ceph osd pool create cephfs0_metadata replicated + ceph fs new cephfs0 cephfs0_metadata cephfs0_data + ceph orch apply mds cephfs0 1 + ceph fs authorize cephfs0 client.user / rw | tee /etc/ceph/ceph.client.user.keyring + mkdir -p /mnt/cephfs0 + cat >> /etc/fstab << FSTABMOUNT + $ip4:/ /mnt/cephfs0 ceph name=user,noatime,nodiratime,_netdev 0 0 +FSTABMOUNT + mount -a + ceph osd pool create rbd + ceph osd pool application enable rbd rbd + rbd pool init -p rbd + radosgw-admin realm create --rgw-realm=default --default + radosgw-admin zonegroup create --rgw-zonegroup=default --master --default + radosgw-admin zone create --rgw-zonegroup=default --rgw-zone=default --master --default + radosgw-admin period update --rgw-realm=default --commit + ceph orch apply rgw default --realm=default --zone=default --placement=""1 $host"" +} + +while true; do + display_menu + + read -p ""Enter your choice (1-3): "" choice + + case $choice in + 1) + install_ceph_snap_microceph + ;; + 2) + install_ceph_cephadm + ;; + 3) + echo ""Exiting..."" + exit 0 + ;; + *) + echo ""Invalid choice. Please enter a number between 1 and 3."" + ;; + esac +done +EOF +chmod +x /root/install_ceph + +cat>/root/dashboard_ceph<<'EOF' +#!/bin/bash + +sudo microceph.ceph mgr module enable dashboard +sleep 5 +sudo microceph.ceph config set mgr mgr/dashboard/ssl false +sudo echo -n '$PASSWORDROOT' > /var/snap/microceph/current/conf/password.txt +sudo microceph.ceph dashboard ac-user-create -i /etc/ceph/password.txt admin administrator +EOF +chmod +x /root/dashboard_ceph + + +cat>/root/add_ceph_disks<<'EOF' +#!/bin/bash + +DK=$(lsblk -l -d -e 11 -n -o NAME) +COUNT=0 +for i in $DK +do + blkid ""/dev/$i"" &> /dev/null + if [ $? != 0 ]; then + microceph disk add /dev/""$i"" + (( COUNT++ )) + fi +EOF +chmod +x /root/add_ceph_disks +" +sr3MHmFB,CA2035 Zamak Transport,kenoxite,SQF,Monday 20th of November 2023 04:49:41 AM CDT," // Zamak Transport + class I_Truck_02_transport_F; + class I_CA2035_T_Zamak_Transport_F : I_Truck_02_transport_F { + author = ""kenoxite""; + scope = 2; + scopeCurator = 2; + // displayName = ""Zamak Transport""; + side = 2; + faction = ""IND_CA2035_T_F""; + editorPreview = ""\CA2035\indep\previews\t\I_CA2035_T_Zamak_Transport_F.jpg""; + crew = ""I_CA2035_T_Soldier_F""; + + forceInGarage=1; + + typicalCargo[]= + { + ""I_CA2035_T_Soldier_F"", + ""I_CA2035_T_Soldier_F"", + ""I_CA2035_T_Soldier_F"" + }; + + hiddenSelections[]= + { + ""Camo1"", + ""Camo2"" + }; + hiddenSelectionsTextures[]= + { + ""\CA2035\soft\Truck_02\data\Truck_02_kab_CA2035_trp1_co.paa"", + ""\CA2035\soft\Truck_02\data\Truck_02_kuz_CA2035_trp1_co.paa"" + }; + + + textureList[]= + { + ""CA2035_TRP"", + 1, + ""CA2035_ARD"", + 0, + ""CA2035_GREEN"", + 0 + }; + class TextureSources + { + class CA2035_TRP + { + author=""kenoxite""; + displayName=""CAAF (Tropic)""; + factions[]= + { + ""IND_CA2035_T_F"" + }; + textures[]= + { + ""\CA2035\soft\Truck_02\data\Truck_02_kab_CA2035_trp1_co.paa"", + ""\CA2035\soft\Truck_02\data\Truck_02_kuz_CA2035_trp1_co.paa"" + }; + }; + class CA2035_ARD + { + author=""kenoxite""; + displayName=""CAAF (Arid)""; + factions[]= + { + ""IND_CA2035_D_F"" + }; + textures[]= + { + ""\CA2035\soft\Truck_02\data\Truck_02_kab_CA2035_ard3_CO.paa"", + ""\CA2035\soft\Truck_02\data\Truck_02_kuz_CA2035_ard3_CO.paa"" + }; + }; + class CA2035_GREEN + { + author=""kenoxite""; + displayName=""$STR_A3_TEXTURESOURCES_GREEN0""; + factions[]= + { + ""IND_CA2035_T_F"" + }; + textures[]= + { + ""\CA2035\soft\Truck_02\data\Truck_02_kab_CA2035_mgreen_co.paa"", + ""\CA2035\soft\Truck_02\data\Truck_02_kuz_CA2035_mgreen_co.paa"" + }; + }; + }; + + class TransportBackpacks + { + bag_xx(B_FieldPack_green_F,1); + }; + class TransportItems + { + item_xx(FirstAidKit,10); + item_xx(ToolKit,1); + }; + }; +" +812iBJWd,ALiVE CA2035 Support overrides,kenoxite,SQF,Monday 20th of November 2023 04:48:39 AM CDT," +INIT.SQF +======== + +if(isServer) then { + + // ------------------------------------------------------------------------------------------------------------- + // override default data + // see script/staticData.sqf + [""MISSION INIT - Waiting""] call ALIVE_fnc_dump; + + waitUntil {!isNil ""ALiVE_STATIC_DATA_LOADED""}; + + [""MISSION INIT - Continue""] call ALIVE_fnc_dump; + + // override static data settings + call compile (preprocessFileLineNumbers ""script\staticData.sqf""); + + [""MISSION INIT - Static data override loaded""] call ALIVE_fnc_dump; + + + + // ------------------------------------------------------------------------------------------------------------- + +}; + +STATICDATA.SQF +============== +if (!isServer) exitWith {}; + +[ALIVE_factionDefaultSupports, ""IND_CA2035_T_F"", [""I_CA2035_T_Zamak_Ammo_F"",""I_CA2035_T_Zamak_Fuel_F"",""I_CA2035_T_Zamak_Medical_F"",""I_CA2035_T_Zamak_Repair_F""]] call ALIVE_fnc_hashSet; +[ALIVE_factionDefaultSupports, ""OPF_CA2035_F"", [""O_CA2035_Truck_03_ammo_ghex_F"",""O_CA2035_Truck_03_fuel_ghex_F"",""O_CA2035_Truck_03_medical_ghex_F"",""O_CA2035_Truck_03_repair_ghex_F""]] call ALIVE_fnc_hashSet; + +/* + * Mil logistics convoy transport vehicles per faction + */ +[ALIVE_factionDefaultTransport, ""IND_CA2035_T_F"", [""I_CA2035_T_Zamak_Transport_F"",""I_CA2035_T_Zamak_Covered_F""]] call ALIVE_fnc_hashSet; +[ALIVE_factionDefaultTransport, ""OPF_CA2035_F"", [""O_CA2035_Truck_03_transport_ghex_F"",""O_CA2035_Truck_03_covered_ghex_F""]] call ALIVE_fnc_hashSet; + +/* + * Mil logistics air transport vehicles per faction + */ +[ALIVE_factionDefaultAirTransport, ""IND_CA2035_T_F"", [""I_CA2035_T_WY_55_Unarmed_F""]] call ALIVE_fnc_hashSet; +[ALIVE_factionDefaultAirTransport, ""OPF_CA2035_F"", [""O_CA2035_Heli_Light_02_unarmed_F"",""O_CA2035_VTOL_02_infantry_dynamicLoadout_F""]] call ALIVE_fnc_hashSet; + +/* + * Mil placement random supply boxes for sides + */ +[ALIVE_factionDefaultSupplies, ""IND_CA2035_T_F"", [""IND_CA2035_T_F_SupplyBox"",""IND_CA2035_T_F_AmmoBox"",""IND_CA2035_T_F_LaunchersBox"",""IND_CA2035_T_F_SupportBox"",""IND_CA2035_T_F_UniformBox"",""IND_CA2035_T_F_WeaponsBox""]] call ALIVE_fnc_hashSet; +[ALIVE_factionDefaultSupplies, ""OPF_CA2035_F"", [""OPF_CA2035_F_AmmoBox"",""OPF_CA2035_F_LaunchersBox"",""OPF_CA2035_F_SupplyBox"",""OPF_CA2035_F_SupportBox"",""OPF_CA2035_F_UniformBox"",""OPF_CA2035_F_WeaponsBox""]] call ALIVE_fnc_hashSet; + + +" +RbvEtaJq,Untitled,dolomite42,Java,Monday 20th of November 2023 04:33:40 AM CDT,"4242424242424242 +5555555555554444 +378282246310005 +Test data generated by 98823c9ce7f73d22c0e84a43ab6f6ed3" +vqCZQhum,Test,Ghostmoddzz,JSON,Monday 20th of November 2023 04:29:03 AM CDT,"{ + ""titulo"": ""Dracula"" +}" +AJQp5nY1,recycleView,jzcheng,Java,Monday 20th of November 2023 04:22:17 AM CDT,"package com.example.homework; +import android.annotation.SuppressLint; +import android.content.Context; +import android.content.Intent; +import android.os.Bundle; +import android.view.View; +import android.widget.Button; + +import androidx.appcompat.app.AppCompatActivity; +import androidx.recyclerview.widget.LinearLayoutManager; +import androidx.recyclerview.widget.RecyclerView; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Objects; + +public class recycleviewMainActivity extends AppCompatActivity { + RecyclerView recyclerView; + List list; + private ArrayList> list1; + MyadapterRe adapter; + Context context; + Button buttonfile; + @SuppressLint(""MissingInflatedId"") + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + this.setContentView(R.layout.activity_recycleview_main); + recyclerView = this.findViewById(R.id.recycleView); + + + list1 = (ArrayList>) this.getIntent().getSerializableExtra(""data""); + Intent intent2=new Intent(); +// list1= this.getIntent().getParcelableExtra(""data""); + + + list = new ArrayList(); + +// for (int i=0;i<9;i++){ +// list.add(""这是第""+i+""行数据""); +// } + + context=this; + + adapter = new MyadapterRe(this,list1); + + recyclerView.setAdapter(adapter); + + LinearLayoutManager manager = new LinearLayoutManager(this); + manager.setOrientation(RecyclerView.VERTICAL); + recyclerView.setLayoutManager(manager); + + } +}" +6G2ZJLK2,MyadapterRe.java,jzcheng,Java,Monday 20th of November 2023 04:21:33 AM CDT,"package com.example.homework; + + +import android.app.Activity; +import android.content.Context; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; +import android.widget.Button; +import android.widget.TextView; + +import androidx.annotation.NonNull; +//import androidx.appcompat.widget.AbsActionBarView; +import androidx.recyclerview.widget.RecyclerView; + +import java.util.ArrayList; +import java.util.HashMap; + +public class MyadapterRe extends RecyclerView.Adapter { + + Context context1; + ArrayList> list1; + private boolean isButtonShown = false; + public MyadapterRe(Context context, ArrayList> list) { + context1=context; + list1=list; + } + + @NonNull + @Override + public Myholder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { + View view = LayoutInflater.from(context1).inflate(R.layout.item,parent,false); + Myholder holder = new Myholder(view); + if (!isButtonShown) { + holder.myButton.setVisibility(View.VISIBLE); + isButtonShown = true; + } else { + holder.myButton.setVisibility(View.GONE); + } + return holder; + } + + @Override + public void onBindViewHolder(@NonNull Myholder holder, int position) { +// holder.textView.setText(list1.get(position)); + HashMap dataItem = list1.get(position); + String id = dataItem.get(""id"").toString(); + String name = dataItem.get(""name"").toString(); + String age = dataItem.get(""age"").toString(); + holder.textView1.setText(""学号:""+id); + holder.textView2.setText(""姓名:""+name); + holder.textView3.setText(""年龄:""+age); + + + // 添加点击事件 + holder.myButton.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + // 创建MyDAO对象 + MyDAO myDAO = new MyDAO(context1); + myDAO.MyconnectDB(); + // 调用addContact方法将数据写入数据库 +// myDAO.addContact(name, Integer.parseInt(age), Integer.parseInt(id)); + myDAO.addContact(""st4rry"",10,10); + myDAO.addContact(""st4rry"",11,11); + myDAO.addContact(""st4rry"",12,12); + + // 关闭当前Activity并返回到上一个Activity + if (context1 != null) { + ((Activity) context1).finish(); + } + } + }); + + } + + @Override + public int getItemCount() { + return list1.size(); + } +// 点击事件 + + + public class Myholder extends RecyclerView.ViewHolder{ + public Button myButton; + TextView textView1,textView2,textView3; + public Myholder(@NonNull View itemView) { + super(itemView); + myButton = itemView.findViewById(R.id.add_contact); + textView1=itemView.findViewById(R.id.item); + textView2=itemView.findViewById(R.id.textViewfile2); + textView3=itemView.findViewById(R.id.textViewfile3); + } + } +} +" +Ynt1aQkE,Untitled,KoctrX,JavaScript,Monday 20th of November 2023 04:20:49 AM CDT,"/** + * @swagger + * /api/assets: + * post: + * tags: + * - Assets + * description: Create a new asset with possible attachments and bot kit details. + * consumes: + * - multipart/form-data + * produces: + * - application/json + * parameters: + * - in: formData + * name: name + * type: string + * description: Name of the asset. + * required: true + * - in: formData + * name: content + * type: string + * description: Content related to the asset. + * - in: formData + * name: productId + * type: integer + * description: ID of the associated product. + * - in: formData + * name: collectionId + * type: integer + * description: ID of the associated collection. + * - in: formData + * name: category + * type: string + * description: Category of the asset. + * - in: formData + * name: bot[logo] + * type: file + * description: Bot logo (only PNG, JPG formats are accepted). Max count: 1. + * - in: formData + * name: bot[name] + * type: string + * description: Name of the bot. + * - in: formData + * name: bot[description] + * type: string + * description: Description of the bot. + * - in: formData + * name: bot[roles] + * type: string + * description: Roles of the bot. + * - in: formData + * name: bot[bot_tone] + * type: string + * description: Tone of the bot. + * - in: formData + * name: bot[brand_tone] + * type: string + * description: Brand tone of the bot. + * - in: formData + * name: bot[response_length] + * type: integer + * description: Response length of the bot. + * - in: formData + * name: bot[multilang_enabled] + * type: boolean + * description: Whether multilanguage is enabled for the bot. + * - in: formData + * name: bot[language] + * type: string + * description: Language of the bot. + * - in: formData + * name: bot[imported_data] + * type: string + * description: Imported data for the bot. + * - in: formData + * name: bot[include_citations] + * type: boolean + * description: Whether to include citations for the bot. + * - in: formData + * name: attachments + * type: file + * description: File(s) to upload as attachments (only PNG, JPG formats are accepted). + * responses: + * 201: + * description: Asset created successfully + * content: + * application/json: + * schema: + * type: object + * properties: + * success: + * type: boolean + * data: + * type: object + * properties: + * id: + * type: integer + * name: + * type: string + * content: + * type: string + * productId: + * type: integer + * collectionId: + * type: integer + * category: + * type: string + * activeHistoryId: + * type: integer + * bot: + * type: object + * properties: + * name: + * type: string + * description: + * type: string + * roles: + * type: string + * bot_tone: + * type: string + * brand_tone: + * type: string + * response_length: + * type: integer + * multilang_enabled: + * type: boolean + * language: + * type: string + * imported_data: + * type: string + * include_citations: + * type: boolean + * logo: + * type: string + * attachments: + * type: array + * items: + * type: object + * properties: + * id: + * type: integer + * filename: + * type: string + * path: + * type: string + * mimetype: + * type: string + * 400: + * description: Validation error + * content: + * application/json: + * schema: + * type: object + * properties: + * success: + * type: boolean + * message: + * type: string + * 500: + * description: Error creating asset + * content: + * application/json: + * schema: + * type: object + * properties: + * message: + * type: string + * success: + * type: boolean + */ +" +1p90KR1a,Untitled,lemansky,HTML,Monday 20th of November 2023 04:12:48 AM CDT," + + + + + Adjust Padding + + + + + + + + + + +" +NqrC0yiy,imt,rvdraws,MySQL,Monday 20th of November 2023 04:08:56 AM CDT,"INSERT INTO white_label (base_url, favicon, google, hotjar, microsoft, sentry, site_logo, text, yellow_messenger) +VALUES + ('app.imt.care', 'https://imtbepublic.s3.ap-south-1.amazonaws.com/oldAssets/assets/images/icons/host_logos/Favicon_IMT.png', true, true, true, true, 'https://imtbepublic.s3.ap-south-1.amazonaws.com/oldAssets/assets/images/icons/host_logos/IMT+Care.png', 'Insure My Team', true), + ('care.glideinsurance.com', 'https://imtbepublic.s3.ap-south-1.amazonaws.com/oldAssets/assets/images/icons/host_logos/Favicon_Glide.png', true, true, true, true, 'https://imtbepublic.s3.ap-south-1.amazonaws.com/oldAssets/assets/images/icons/host_logos/Logo_Glide.png', 'Glide', true), + ('sriyah.imt.care', 'https://imtbepublic.s3.ap-south-1.amazonaws.com/oldAssets/assets/images/icons/host_logos/Favicon_Sriyah.png', true, true, true, true, 'https://imtbepublic.s3.ap-south-1.amazonaws.com/oldAssets/assets/images/icons/host_logos/Logo_Sriyah.png', 'Sriyah', true), + ('edifybrokers.imt.care', 'https://imtbepublic.s3.ap-south-1.amazonaws.com/oldAssets/assets/images/icons/host_logos/Favicon_Vedify.png', true, true, true, true, 'https://imtbepublic.s3.ap-south-1.amazonaws.com/oldAssets/assets/images/icons/host_logos/Logo_Vedify.png', 'Edify Brokers', true), + ('riainsurance.imt.care', 'https://imtbepublic.s3.ap-south-1.amazonaws.com/oldAssets/assets/images/icons/host_logos/Favicon_Ria.png', true, true, true, true, 'https://imtbepublic.s3.ap-south-1.amazonaws.com/oldAssets/assets/images/icons/host_logos/Logo_Ria.png', 'RIA Insurance', true), + ('toyota.imt.care', 'https://imtbepublic.s3.ap-south-1.amazonaws.com/oldAssets/assets/images/icons/host_logos/Favicon_Toyota.png', true, true, true, true, 'https://imtbepublic.s3.ap-south-1.amazonaws.com/assets/host_logos/logos/toyota.png', 'Toyota', true), + ('wmgriskadvisory.imt.care', 'https://imtbepublic.s3.ap-south-1.amazonaws.com/oldAssets/assets/images/icons/host_logos/Favicon_Wmg.png', true, true, true, true, 'https://imtbepublic.s3.ap-south-1.amazonaws.com/oldAssets/assets/images/icons/host_logos/Logo_Wmg.svg', 'WMG', true), + ('gmc.bimakavach.com', 'https://imtbepublic.s3.ap-south-1.amazonaws.com/oldAssets/assets/images/icons/host_logos/Favicon_bimkavach.svg', false, false, false, false, 'https://imtbepublic.s3.ap-south-1.amazonaws.com/oldAssets/assets/images/icons/host_logos/logo_bivakavach.svg', 'Bima Kavach', true), + ('aubankuat.imt.care', 'https://imtbepublic.s3.ap-south-1.amazonaws.com/assets/host_logos/favicons/AU+Bank+favicon.png', false, false, false, false, 'https://imtbepublic.s3.ap-south-1.amazonaws.com/assets/host_logos/logos/AU+Bank+logo.png', 'AU Bank Employee Benefits', false);" +PSGcEsFp,Untitled,Nanoic,Python,Monday 20th of November 2023 04:05:52 AM CDT,"C:\Users\arich\PycharmProjects\pythonProject8\venv\Scripts\python.exe C:\Users\arich\PycharmProjects\pythonProject8\main.py +[2023-11-20 10:04:55] [INFO ] discord.client: logging in using static token +Traceback (most recent call last): + File ""C:\Users\arich\PycharmProjects\pythonProject8\main.py"", line 4, in + bot.run_discord_bot() + File ""C:\Users\arich\PycharmProjects\pythonProject8\bot.py"", line 43, in run_discord_bot + client.run(TOKEN) + File ""C:\Users\arich\PycharmProjects\pythonProject8\venv\lib\site-packages\discord\client.py"", line 860, in run + asyncio.run(runner()) + File ""C:\Users\arich\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py"", line 44, in run + return loop.run_until_complete(main) + File ""C:\Users\arich\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py"", line 646, in run_until_complete + return future.result() + File ""C:\Users\arich\PycharmProjects\pythonProject8\venv\lib\site-packages\discord\client.py"", line 849, in runner + await self.start(token, reconnect=reconnect) + File ""C:\Users\arich\PycharmProjects\pythonProject8\venv\lib\site-packages\discord\client.py"", line 778, in start + await self.connect(reconnect=reconnect) + File ""C:\Users\arich\PycharmProjects\pythonProject8\venv\lib\site-packages\discord\client.py"", line 704, in connect + raise PrivilegedIntentsRequired(exc.shard_id) from None +discord.errors.PrivilegedIntentsRequired: Shard ID None is requesting privileged intents that have not been explicitly enabled in the developer portal. It is recommended to go to https://discord.com/developers/applications/ and explicitly enable the privileged intents within your application's page. If this is not possible, then consider disabling the privileged intents instead. + +Process finished with exit code 1" +7wNNiyyJ,Untitled,0utsidethebox,PowerShell,Monday 20th of November 2023 04:02:18 AM CDT,"# Fully localize Windows, current and future accounts: https://www.outsidethebox.ms/22149/ +Install-Language ru-RU +Set-WinUILanguageOverride ru-RU +$List = Get-WinUserLanguageList +$List.Add(""ru-RU"") +Set-WinUserLanguageList $($list[1], $list[0]) -Force +Set-WinHomeLocation -GeoId 203 # https://go.microsoft.com/fwlink/?LinkID=242308 +Set-WinSystemLocale ru-RU +Copy-UserInternationalSettingsToSystem -WelcomeScreen $True -NewUser $True +# Bonus: redefine default input method as English +# Set-WinDefaultInputMethodOverride -InputTip ""0409:00000409" +5SiJWNq8,Nigerian scammers [20-11-1/2023],bombaires,AIMMS,Monday 20th of November 2023 04:00:47 AM CDT,"godwin.e005@gmail.com +god.win..e005@gmail.com +g.o.dw.in..e00.5@gmail.com +godw.in...e005@gmail.com +g.odw.in...e.00.5@gmail.com +go.dw.i.n.e00.5@gmail.com +god.wi.n..e.0.05@gmail.com +god.w.in...e.005@gmail.com +g.od.w.in...e.0.0.5@gmail.com +go.d.win.e.005@gmail.com +g.o.d.w.i.n..e.0.05@gmail.com +go.dwi.n..e.00.5@gmail.com +go.d.win..e.00.5@gmail.com +go.d.win..e0.0.5@gmail.com +g.odwi.n...e.005@gmail.com +g.odw.in...e.005@gmail.com +godwi.n...e0.0.5@gmail.com +g.odwi.n...e.00.5@gmail.com +g.o.d.w.in..e.0.05@gmail.com +g.od.win.e0.0.5@gmail.com +g.o.dwin..e0.0.5@gmail.com +go.d.wi.n..e00.5@gmail.com +god.w.i.n..e0.05@gmail.com +go.dw.in...e00.5@gmail.com +godwin.e.00.5@gmail.com +g.od.win...e0.0.5@gmail.com +go.dw.i.n..e.0.0.5@gmail.com +g.o.dw.in..e.0.05@gmail.com +god.win...e00.5@gmail.com +godw.in.e.0.0.5@gmail.com +g.o.d.w.in..e.005@gmail.com +g.o.dw.in...e.0.05@gmail.com +go.dwi.n..e.00.5@gmail.com +go.d.w.i.n.e0.05@gmail.com +go.dwi.n.e.0.0.5@gmail.com +g.o.d.w.i.n..e0.0.5@gmail.com +g.o.d.w.i.n..e.0.05@gmail.com +g.o.dw.i.n..e00.5@gmail.com +g.o.dw.in...e0.0.5@gmail.com +g.od.win..e0.05@gmail.com +g.odw.in..e00.5@gmail.com +g.o.dwin...e.005@gmail.com +go.dw.in..e.005@gmail.com +g.odw.in..e.005@gmail.com +god.win...e0.0.5@gmail.com +go.dwin..e0.05@gmail.com +go.dw.i.n..e0.05@gmail.com +god.w.i.n..e.00.5@gmail.com +godw.i.n..e0.0.5@gmail.com +god.win..e.00.5@gmail.com +g.od.win.e.005@gmail.com +godwi.n.e0.05@gmail.com +g.o.d.wi.n.e.0.0.5@gmail.com +g.o.dwin..e.005@gmail.com +g.odwi.n...e.0.0.5@gmail.com +go.d.win..e0.05@gmail.com +go.dw.i.n.e.0.0.5@gmail.com +god.w.i.n..e0.0.5@gmail.com +godwi.n..e005@gmail.com +g.odw.i.n...e.0.05@gmail.com +godwi.n..e00.5@gmail.com +g.od.w.i.n.e0.0.5@gmail.com +go.dwin..e.005@gmail.com +g.o.dwi.n..e.005@gmail.com +go.dwi.n...e.00.5@gmail.com +g.o.d.wi.n...e0.05@gmail.com +g.od.wi.n..e0.05@gmail.com +go.d.win...e0.0.5@gmail.com +godw.in..e.00.5@gmail.com +g.o.d.wi.n..e.0.0.5@gmail.com +g.o.dwi.n.e0.0.5@gmail.com +god.w.in..e0.0.5@gmail.com +g.odwin.e005@gmail.com +g.o.d.win..e0.0.5@gmail.com +g.o.d.wi.n..e.00.5@gmail.com +g.o.d.w.in..e005@gmail.com +g.o.d.w.i.n..e00.5@gmail.com +g.o.d.w.i.n..e.005@gmail.com +g.o.dw.i.n.e0.0.5@gmail.com +god.w.i.n.e005@gmail.com +g.od.w.in.e.0.05@gmail.com +go.dw.i.n...e005@gmail.com +god.wi.n..e.00.5@gmail.com +go.dw.in...e0.0.5@gmail.com +godwi.n...e00.5@gmail.com +g.od.w.in.e0.0.5@gmail.com +g.o.d.w.in..e.005@gmail.com +g.o.d.w.i.n.e0.0.5@gmail.com +g.o.d.win..e.0.05@gmail.com +go.dw.in..e0.05@gmail.com +g.odw.in..e.0.0.5@gmail.com +god.win..e0.05@gmail.com +godwi.n..e0.0.5@gmail.com +g.o.d.win.e005@gmail.com +g.odwi.n.e005@gmail.com +god.w.i.n..e.0.0.5@gmail.com +god.win.e005@gmail.com +go.dw.in.e0.05@gmail.com +god.w.i.n...e.00.5@gmail.com +go.dwi.n.e.00.5@gmail.com +go.dwin...e.0.0.5@gmail.com +g.o.d.w.in.e.00.5@gmail.com +godwi.n.e.005@gmail.com +godwin...e005@gmail.com +go.dwin..e.0.0.5@gmail.com +go.dw.in...e.00.5@gmail.com +go.d.wi.n...e005@gmail.com +go.dwi.n..e.0.0.5@gmail.com +go.dw.in...e.0.0.5@gmail.com +g.odw.in.e0.05@gmail.com +g.o.dwin..e0.0.5@gmail.com +god.win.e.0.05@gmail.com +god.win..e.005@gmail.com +g.od.wi.n...e.0.05@gmail.com +g.o.d.w.in...e.005@gmail.com +go.d.win..e.0.05@gmail.com +g.od.wi.n.e00.5@gmail.com +godw.i.n..e00.5@gmail.com +g.odw.in..e.0.0.5@gmail.com +g.o.dwin..e00.5@gmail.com +g.od.wi.n.e.00.5@gmail.com +godw.i.n..e00.5@gmail.com +g.o.d.wi.n..e.005@gmail.com +g.od.win...e.005@gmail.com +godwi.n..e.0.05@gmail.com +g.o.dw.in..e.0.05@gmail.com +god.w.i.n..e.005@gmail.com +g.odwin...e.0.0.5@gmail.com +go.d.wi.n..e0.05@gmail.com +g.odw.in..e0.05@gmail.com +g.o.d.wi.n...e.00.5@gmail.com +go.dwi.n.e.005@gmail.com +godw.i.n..e.005@gmail.com +go.d.wi.n..e.0.05@gmail.com +godwi.n..e0.05@gmail.com +go.d.win..e.0.0.5@gmail.com +go.d.w.in..e.0.0.5@gmail.com +go.dwin.e.0.05@gmail.com +g.o.dwi.n.e.0.05@gmail.com +go.d.wi.n.e.00.5@gmail.com +g.odwin...e.005@gmail.com +godwin..e.0.0.5@gmail.com +g.o.dw.i.n.e.00.5@gmail.com +go.d.win...e.0.0.5@gmail.com +g.odw.in.e0.0.5@gmail.com +god.w.i.n...e.0.05@gmail.com +go.dw.in..e.00.5@gmail.com +go.dw.i.n..e0.0.5@gmail.com +go.dwi.n..e0.05@gmail.com +go.dwi.n...e0.0.5@gmail.com +go.d.wi.n...e.0.0.5@gmail.com +g.od.w.in..e00.5@gmail.com +g.odw.in..e005@gmail.com +god.wi.n...e005@gmail.com +g.od.w.i.n..e.0.0.5@gmail.com +go.d.w.in...e.00.5@gmail.com +g.odwin..e00.5@gmail.com +godw.in...e.0.0.5@gmail.com +go.dw.in..e.00.5@gmail.com +g.o.d.wi.n...e005@gmail.com +go.dw.in..e.0.0.5@gmail.com +g.o.dw.in.e0.0.5@gmail.com +god.win..e.005@gmail.com +g.o.dwin..e.00.5@gmail.com +g.od.w.i.n..e.0.05@gmail.com +g.odw.in.e00.5@gmail.com +g.odw.in..e005@gmail.com +g.odwi.n..e0.0.5@gmail.com +g.od.win..e.005@gmail.com +go.dwin...e.0.05@gmail.com +g.o.d.w.i.n..e.00.5@gmail.com +g.o.d.wi.n...e.0.05@gmail.com +g.od.wi.n..e.00.5@gmail.com +g.o.d.w.i.n...e0.0.5@gmail.com +g.odwin.e00.5@gmail.com +godw.in...e0.05@gmail.com +go.d.win..e.0.05@gmail.com +go.dw.in..e00.5@gmail.com +g.od.wi.n..e.00.5@gmail.com +go.d.w.i.n.e.0.05@gmail.com +go.d.w.in.e0.0.5@gmail.com +godw.in...e.00.5@gmail.com +go.dwi.n.e0.05@gmail.com +god.w.in.e.0.0.5@gmail.com +god.w.i.n..e00.5@gmail.com +god.w.in...e005@gmail.com +g.o.dw.in..e.00.5@gmail.com +godw.in..e.005@gmail.com +g.od.win..e0.05@gmail.com +go.d.win...e0.05@gmail.com +go.dwin...e.00.5@gmail.com +g.o.dwi.n...e00.5@gmail.com +g.o.dw.in..e.0.0.5@gmail.com +g.odwi.n..e.00.5@gmail.com +go.dwi.n...e0.05@gmail.com +g.od.wi.n...e005@gmail.com +g.od.w.i.n..e.005@gmail.com +go.dw.in.e.005@gmail.com +g.o.d.w.in..e0.05@gmail.com +g.odwi.n.e.00.5@gmail.com +g.o.d.win..e.005@gmail.com +godwin.e10q@gmail.com +g.o.dwin..e.10q@gmail.com +g.o.dw.i.n...e.10q@gmail.com +g.o.dwi.n..e1.0q@gmail.com +go.dwin..e10.q@gmail.com +go.dw.in.e.1.0q@gmail.com +god.w.in..e.10q@gmail.com +god.win...e.10.q@gmail.com +g.o.dwin..e1.0.q@gmail.com +go.d.win...e1.0.q@gmail.com +go.dw.in..e.10.q@gmail.com +god.w.i.n...e10q@gmail.com +godw.i.n..e10q@gmail.com +g.odwi.n.e.1.0q@gmail.com +god.win.e.1.0.q@gmail.com +g.o.d.w.in..e.1.0.q@gmail.com +godwi.n...e.1.0.q@gmail.com +go.dw.i.n.e10q@gmail.com +god.w.in..e.1.0.q@gmail.com +g.o.d.win..e.1.0q@gmail.com +godwin..e.10q@gmail.com +g.o.dw.i.n..e1.0q@gmail.com +god.win...e1.0.q@gmail.com +go.dwin...e.10.q@gmail.com +god.win...e1.0q@gmail.com +g.o.d.wi.n.e1.0q@gmail.com +go.d.wi.n...e10.q@gmail.com +god.wi.n..e.1.0.q@gmail.com +go.d.wi.n..e1.0.q@gmail.com +g.odwi.n..e10.q@gmail.com +g.o.d.w.i.n..e.10q@gmail.com +go.dw.in.e.10q@gmail.com +godwin..e10.q@gmail.com +godw.in.e.10.q@gmail.com +g.o.d.w.in.e.1.0.q@gmail.com +godw.i.n...e1.0.q@gmail.com +godwin..e.1.0q@gmail.com +g.o.d.w.i.n.e.10q@gmail.com +g.o.dwi.n...e10q@gmail.com +god.w.in.e10q@gmail.com +god.w.in.e.1.0q@gmail.com +g.o.d.w.i.n..e.1.0q@gmail.com +g.o.dw.in..e.10q@gmail.com +go.d.w.i.n..e.1.0.q@gmail.com +god.w.i.n.e1.0q@gmail.com +g.o.d.wi.n..e10q@gmail.com +godw.i.n..e.1.0q@gmail.com +god.w.in...e.1.0.q@gmail.com +g.od.w.in..e1.0q@gmail.com +go.d.w.in.e.10q@gmail.com +g.o.d.win..e.10.q@gmail.com +godwi.n..e.10q@gmail.com +g.o.dw.i.n..e10q@gmail.com +g.o.d.w.in.e.10.q@gmail.com +god.w.i.n...e.1.0.q@gmail.com +go.d.w.i.n...e1.0q@gmail.com +godwin..e.1.0q@gmail.com +g.o.dw.i.n.e.10.q@gmail.com +g.odwin..e1.0.q@gmail.com +godw.in..e10q@gmail.com +g.od.win..e10.q@gmail.com +g.o.d.w.in...e.1.0.q@gmail.com +g.od.wi.n..e.1.0.q@gmail.com +go.d.win..e.1.0q@gmail.com +g.odw.i.n.e10q@gmail.com +god.w.i.n..e.1.0.q@gmail.com +g.o.dwin.e10q@gmail.com +go.d.w.in..e.10q@gmail.com +go.d.win.e1.0.q@gmail.com +go.dwi.n..e.10.q@gmail.com +g.odw.i.n..e10.q@gmail.com +g.o.dw.in...e1.0q@gmail.com +g.od.wi.n...e.1.0.q@gmail.com +g.o.dwi.n...e10.q@gmail.com +g.od.w.i.n.e10q@gmail.com +godw.i.n.e.10.q@gmail.com +go.d.w.i.n.e1.0.q@gmail.com +g.odwin..e.10q@gmail.com +go.d.w.i.n...e10.q@gmail.com +go.d.wi.n.e.1.0.q@gmail.com +g.odwi.n..e.1.0q@gmail.com +godw.in...e.1.0q@gmail.com +god.w.in..e.1.0q@gmail.com +god.wi.n.e1.0.q@gmail.com +g.od.w.in..e.10.q@gmail.com +go.d.w.i.n..e.10q@gmail.com +g.od.wi.n.e1.0q@gmail.com +g.odw.in.e.1.0.q@gmail.com +g.o.d.win..e.1.0.q@gmail.com +g.odwi.n...e1.0q@gmail.com +g.od.wi.n.e.1.0q@gmail.com +g.od.win...e.10q@gmail.com +g.od.win.e.1.0q@gmail.com +g.odwi.n.e10.q@gmail.com +go.d.w.in..e1.0q@gmail.com +godw.i.n..e.10q@gmail.com +g.o.dw.in..e1.0q@gmail.com +go.d.wi.n...e1.0.q@gmail.com +go.d.win.e.1.0.q@gmail.com +g.o.d.win.e.10.q@gmail.com +god.w.in..e10.q@gmail.com +godwi.n...e.1.0q@gmail.com +go.d.wi.n.e1.0q@gmail.com +g.od.w.in...e10q@gmail.com +g.o.dw.i.n...e10q@gmail.com +go.d.wi.n..e10q@gmail.com +god.win..e1.0.q@gmail.com +god.win...e.1.0q@gmail.com +g.odw.in..e10q@gmail.com +g.o.d.win...e1.0.q@gmail.com +go.d.win.e1.0q@gmail.com +g.o.d.wi.n.e.1.0.q@gmail.com +g.o.d.w.i.n...e.1.0q@gmail.com +godw.in..e1.0q@gmail.com +g.o.d.w.i.n.e10.q@gmail.com +g.od.win..e1.0.q@gmail.com +g.od.win..e10q@gmail.com +godw.in..e.1.0q@gmail.com +god.wi.n..e10q@gmail.com +god.w.i.n..e1.0.q@gmail.com +god.w.i.n..e10q@gmail.com +g.od.wi.n...e1.0q@gmail.com +godw.i.n...e.10q@gmail.com +god.wi.n..e10.q@gmail.com +g.odwi.n..e1.0q@gmail.com +g.o.d.wi.n..e1.0.q@gmail.com +g.odw.in..e.10q@gmail.com +godwin..e10q@gmail.com +god.wi.n.e.10.q@gmail.com +g.o.dwi.n..e.10q@gmail.com +go.dw.in..e1.0q@gmail.com +godw.in..e.10q@gmail.com +go.dwin...e.10q@gmail.com +godwin...e.10q@gmail.com +g.o.d.w.i.n.e.10.q@gmail.com +godwi.n...e1.0q@gmail.com +go.dwi.n..e.1.0.q@gmail.com +g.odw.in..e10.q@gmail.com +godwin..e10q@gmail.com +god.wi.n..e1.0.q@gmail.com +go.dwi.n.e.10q@gmail.com +god.w.in..e.1.0.q@gmail.com +godw.in.e10q@gmail.com +god.win..e10.q@gmail.com +g.o.d.w.i.n.e10q@gmail.com +g.o.d.w.in...e10.q@gmail.com +g.odw.in..e.10.q@gmail.com +g.o.d.w.i.n.e.1.0.q@gmail.com +god.win.e1.0.q@gmail.com +g.o.dw.in..e1.0.q@gmail.com +g.o.d.win...e.10.q@gmail.com +go.d.wi.n..e.1.0.q@gmail.com +g.od.w.i.n..e1.0q@gmail.com +god.wi.n...e.1.0.q@gmail.com +g.o.d.w.i.n..e10.q@gmail.com +god.wi.n.e.10q@gmail.com +g.o.dwi.n..e10q@gmail.com +g.odw.i.n..e1.0.q@gmail.com +godwi.n..e10.q@gmail.com +go.d.w.in...e.10.q@gmail.com +go.d.w.i.n.e.10q@gmail.com +god.w.i.n..e.1.0q@gmail.com +g.odw.in.e.1.0q@gmail.com +godw.in...e.1.0.q@gmail.com +go.d.w.i.n..e10.q@gmail.com +go.d.w.in...e.10q@gmail.com +go.d.wi.n..e.10q@gmail.com +go.dwin..e10q@gmail.com +g.odwi.n.e.10q@gmail.com +g.o.d.w.in.e1.0.q@gmail.com +go.d.wi.n...e10q@gmail.com +godwin.e.10q@gmail.com +go.d.win..e1.0.q@gmail.com +go.dw.i.n..e10q@gmail.com +go.dwin..e.1.0q@gmail.com +g.o.d.win..e.10.q@gmail.com +g.o.dw.i.n...e.1.0.q@gmail.com +go.d.wi.n...e1.0q@gmail.com +go.dwi.n..e10.q@gmail.com +go.dw.i.n.e1.0.q@gmail.com +g.od.win..e1.0.q@gmail.com +god.win..e.1.0q@gmail.com +god.w.in..e.10.q@gmail.com +g.o.d.w.in..e10q@gmail.com +g.odwi.n.e1.0q@gmail.com +g.o.d.win..e1.0.q@gmail.com +g.odw.i.n.e.1.0.q@gmail.com +go.dw.in...e10.q@gmail.com +g.odwin.e.10.q@gmail.com +g.odw.in...e10.q@gmail.com +go.d.w.in..e10.q@gmail.com +godw.in...e.10q@gmail.com +g.o.d.wi.n..e.10q@gmail.com +godwi.n..e10q@gmail.com +g.o.d.w.in.e1.0q@gmail.com +go.d.w.in..e.1.0.q@gmail.com +g.od.w.in..e1.0.q@gmail.com +godwi.n..e.10.q@gmail.com +god.w.in..e1.0.q@gmail.com +go.dw.i.n...e10.q@gmail.com +g.od.w.i.n...e.10.q@gmail.com +godwin.e8891@gmail.com +g.o.dwin.e88.9.1@gmail.com +god.wi.n..e8.891@gmail.com +g.o.dwin..e88.91@gmail.com +godwi.n..e.88.91@gmail.com +go.dwi.n..e88.9.1@gmail.com +g.odwi.n.e8.8.91@gmail.com +g.od.win...e8.89.1@gmail.com +g.odwin...e8.89.1@gmail.com +go.dwin..e889.1@gmail.com +god.w.in...e88.9.1@gmail.com +godw.i.n.e.8.8.9.1@gmail.com +g.o.dw.in...e.88.9.1@gmail.com +go.dwi.n..e889.1@gmail.com +go.d.w.i.n.e.8891@gmail.com +go.d.wi.n..e.889.1@gmail.com +god.win.e8.8.91@gmail.com +g.o.dw.i.n.e.889.1@gmail.com +g.o.d.w.in..e.8.8.9.1@gmail.com +g.o.dw.i.n..e.8.891@gmail.com +g.o.d.win...e8.8.9.1@gmail.com +g.od.w.in.e.88.91@gmail.com +g.od.win..e8.8.9.1@gmail.com +god.win.e.8891@gmail.com +g.o.d.wi.n...e889.1@gmail.com +g.o.d.w.i.n.e889.1@gmail.com +go.dw.in.e889.1@gmail.com +godwin...e8891@gmail.com +godw.in...e.8.8.9.1@gmail.com +go.d.wi.n..e8.89.1@gmail.com +god.wi.n..e8.8.9.1@gmail.com +g.o.d.w.i.n...e8.8.9.1@gmail.com +g.o.d.win..e88.91@gmail.com +g.o.d.w.in.e.8.89.1@gmail.com +g.od.w.in.e.88.9.1@gmail.com +g.o.d.w.i.n.e.8.8.91@gmail.com +godw.i.n...e.8.8.9.1@gmail.com +g.odwi.n..e8.8.9.1@gmail.com +god.win..e.88.91@gmail.com +godw.in..e8.8.9.1@gmail.com +go.d.wi.n...e88.91@gmail.com +god.w.in..e8.8.9.1@gmail.com +g.odwi.n..e88.91@gmail.com +g.od.w.in..e.8.891@gmail.com +godw.i.n...e.889.1@gmail.com +go.d.win.e8.8.91@gmail.com +go.dwi.n..e.8.8.9.1@gmail.com +g.o.d.w.in..e8.891@gmail.com +g.o.dw.i.n..e.889.1@gmail.com +go.dwi.n..e8.8.91@gmail.com +go.dw.in..e8891@gmail.com +g.o.d.w.in...e.88.9.1@gmail.com +g.odw.i.n..e8.8.9.1@gmail.com +g.o.dwi.n..e88.91@gmail.com +go.dwin..e.889.1@gmail.com +g.od.win.e88.91@gmail.com +go.d.win...e.8891@gmail.com +god.w.in...e88.91@gmail.com +g.o.dwin.e8.89.1@gmail.com +g.o.d.wi.n..e889.1@gmail.com +g.o.dw.i.n.e.88.9.1@gmail.com +g.odwin..e8.89.1@gmail.com +god.win...e8.89.1@gmail.com +g.o.d.win...e.8.8.91@gmail.com +g.o.dwin.e8.8.9.1@gmail.com +go.dw.in...e88.9.1@gmail.com +g.odw.in.e88.9.1@gmail.com +g.od.w.in..e.8.8.91@gmail.com +go.dw.in...e889.1@gmail.com +g.od.wi.n..e88.91@gmail.com +godwin..e889.1@gmail.com +god.w.i.n.e.88.91@gmail.com +g.odwin...e889.1@gmail.com +god.w.i.n..e8891@gmail.com +go.d.win..e8.8.9.1@gmail.com +god.w.in...e8891@gmail.com +g.o.d.wi.n...e8.89.1@gmail.com +g.o.d.w.in..e889.1@gmail.com +g.odwi.n..e8891@gmail.com +g.od.w.in.e.8891@gmail.com +g.od.win..e88.91@gmail.com +g.o.d.w.i.n.e.8.891@gmail.com +go.d.wi.n.e8.8.9.1@gmail.com +god.win..e.8891@gmail.com +g.o.dw.in..e.8.89.1@gmail.com +god.wi.n..e.88.9.1@gmail.com +go.d.w.i.n.e8.891@gmail.com +godwin...e8.8.91@gmail.com +g.o.d.wi.n..e.8.891@gmail.com +god.w.i.n..e88.91@gmail.com +g.od.w.in.e88.91@gmail.com +god.win..e.8.89.1@gmail.com +g.odw.in.e.889.1@gmail.com +g.od.w.i.n.e.8.89.1@gmail.com +go.d.w.i.n.e.8.8.91@gmail.com +go.dwin..e.8.8.9.1@gmail.com +god.w.in..e.8.891@gmail.com +go.dw.in.e8.891@gmail.com +g.o.dw.i.n..e.8.89.1@gmail.com +godwi.n.e.88.91@gmail.com +go.d.win.e88.9.1@gmail.com +g.odwi.n..e.88.9.1@gmail.com +g.od.win..e8.89.1@gmail.com +godw.i.n...e.88.91@gmail.com +g.o.d.wi.n..e.8.8.91@gmail.com +g.od.w.i.n.e8891@gmail.com +godwin.e8.8.91@gmail.com +g.o.d.win..e.8.8.91@gmail.com +g.odwi.n..e.8891@gmail.com +g.od.win.e.8891@gmail.com +go.d.win..e8.89.1@gmail.com +go.d.wi.n.e.8.8.9.1@gmail.com +godwi.n...e.8.8.91@gmail.com +g.odwin...e.889.1@gmail.com +go.dwi.n..e.8.89.1@gmail.com +g.o.d.w.in.e88.9.1@gmail.com +g.odwin..e88.9.1@gmail.com +g.odwi.n...e8.891@gmail.com +go.dwin...e.889.1@gmail.com +god.win...e.8.8.9.1@gmail.com +go.dw.i.n...e.8.8.9.1@gmail.com +go.d.win..e.8.8.91@gmail.com +g.o.d.wi.n...e.889.1@gmail.com +g.od.win..e8.8.9.1@gmail.com +g.odwi.n..e889.1@gmail.com +g.od.win.e8.8.9.1@gmail.com +godw.i.n.e.889.1@gmail.com +g.o.dwin...e8891@gmail.com +g.od.w.i.n..e8.89.1@gmail.com +g.odwi.n..e88.91@gmail.com +god.w.in..e.8.8.91@gmail.com +godwi.n.e88.9.1@gmail.com +g.o.dw.i.n..e8.89.1@gmail.com +godwi.n..e.8.891@gmail.com +g.o.dw.in..e.889.1@gmail.com +go.dwin..e.8.89.1@gmail.com +go.dwi.n.e.8.891@gmail.com +g.odw.i.n..e889.1@gmail.com +g.odw.in.e.8891@gmail.com +god.w.in...e8.891@gmail.com +god.wi.n..e8.8.91@gmail.com +g.odwi.n.e.8891@gmail.com +go.dw.i.n.e8.8.91@gmail.com +god.w.i.n.e8891@gmail.com +godw.in...e.8.89.1@gmail.com +go.d.w.in..e8891@gmail.com +godwin..e.88.91@gmail.com +go.dw.i.n..e88.9.1@gmail.com +g.odwi.n..e.8.89.1@gmail.com +go.dwi.n...e8.8.9.1@gmail.com +g.odwi.n.e88.91@gmail.com +godw.in..e.8.8.9.1@gmail.com +godw.i.n.e.8.891@gmail.com +godwin..e8.8.9.1@gmail.com +g.o.dwi.n.e8.8.9.1@gmail.com +go.dw.in..e8.89.1@gmail.com +g.o.d.w.in..e.889.1@gmail.com +go.dwi.n..e.8.891@gmail.com +godwi.n..e88.9.1@gmail.com +godw.i.n..e889.1@gmail.com +godwin..e.8.89.1@gmail.com +god.w.in..e8891@gmail.com +g.odwi.n...e8.8.9.1@gmail.com +g.odwi.n...e88.91@gmail.com +g.od.w.i.n...e8.89.1@gmail.com +go.dw.in..e88.9.1@gmail.com +g.od.w.in...e88.91@gmail.com +g.od.w.in..e.8891@gmail.com +g.o.dw.i.n...e.889.1@gmail.com +g.odwin..e88.91@gmail.com +godw.in.e.8.891@gmail.com +go.dwin..e.8.891@gmail.com +go.d.w.in..e8.8.9.1@gmail.com +go.dw.i.n.e.8.891@gmail.com +g.odw.in..e.889.1@gmail.com +god.w.in.e8.89.1@gmail.com +g.o.d.w.i.n...e.8.8.91@gmail.com +g.o.dwin..e.8.8.9.1@gmail.com +god.win...e8891@gmail.com +go.d.win...e.8.891@gmail.com +go.d.win.e.889.1@gmail.com +go.dwi.n...e8.891@gmail.com +g.o.d.w.in...e.88.91@gmail.com +godw.i.n...e8891@gmail.com +g.o.dwin..e88.91@gmail.com +g.odwi.n...e.88.9.1@gmail.com +g.o.d.w.in...e.8.89.1@gmail.com +g.o.dw.i.n..e.8.8.9.1@gmail.com +g.o.d.w.i.n..e.8.8.91@gmail.com +g.o.dw.i.n.e8.8.9.1@gmail.com +g.o.dw.in.e.8.8.9.1@gmail.com +godwi.n.e8.8.91@gmail.com +go.d.w.in...e.8.891@gmail.com +go.dwin...e8.891@gmail.com +god.w.in..e889.1@gmail.com +g.odw.in..e.88.91@gmail.com +go.d.w.i.n...e.88.9.1@gmail.com +go.dwin.e.8.8.9.1@gmail.com +g.o.dw.i.n..e88.91@gmail.com +go.d.w.in..e.8.8.91@gmail.com +g.o.dwin...e88.91@gmail.com +godwin.emefiele0101@gmail.com +g.od.w.in.emef.i.ele0.10.1@gmail.com +g.o.dwin.e.me.f.i.e.le.0.10.1@gmail.com +go.dwi.n...em.e.f.i.e.le.01.0.1@gmail.com +go.d.w.i.n.emef.ie.l.e.0.10.1@gmail.com +godwi.n.em.ef.i.el.e.0101@gmail.com +god.wi.n..eme.f.iel.e0.10.1@gmail.com +g.od.w.in...emef.i.e.l.e01.01@gmail.com +godwin..em.e.fi.e.l.e0101@gmail.com +g.od.wi.n..e.m.efi.ele.0.1.01@gmail.com +g.o.dw.in.eme.fi.ele.01.0.1@gmail.com +godwi.n...e.me.f.i.el.e.0.1.01@gmail.com +g.odwi.n..emef.i.el.e.0.101@gmail.com +g.od.wi.n..emef.i.e.le.0101@gmail.com +godwi.n..emefiele.010.1@gmail.com +go.d.w.in.e.mef.i.e.l.e.0.1.01@gmail.com +g.o.dw.i.n.e.me.f.iel.e.0.1.0.1@gmail.com +g.od.w.i.n...e.m.ef.i.e.l.e.01.0.1@gmail.com +god.w.in.em.ef.iele0101@gmail.com +g.od.w.i.n..e.mefi.el.e0.1.0.1@gmail.com +g.od.w.in.emef.iele.010.1@gmail.com +g.o.d.w.i.n..e.m.efi.el.e01.0.1@gmail.com +go.dw.in..eme.f.iele.010.1@gmail.com +g.odw.i.n.e.m.ef.ie.l.e01.0.1@gmail.com +g.od.win..eme.fiele0101@gmail.com +go.d.w.i.n..emef.i.ele.0.1.01@gmail.com +go.dwin..em.ef.i.e.l.e.01.01@gmail.com +god.w.in..em.efie.l.e01.01@gmail.com +g.odw.in..emef.iel.e0.1.01@gmail.com +go.dw.i.n..e.mefi.ele.010.1@gmail.com +g.odwi.n..eme.f.i.e.l.e010.1@gmail.com +go.d.win.e.me.f.i.e.l.e.0.1.0.1@gmail.com +go.d.win..em.ef.i.e.l.e0.10.1@gmail.com +g.od.w.i.n..eme.fi.ele.01.0.1@gmail.com +g.o.dwin.e.m.efi.e.l.e0.1.01@gmail.com +g.o.d.w.in.emef.i.e.l.e0.1.0.1@gmail.com +go.dw.i.n..e.mefiele.0.10.1@gmail.com +god.win...e.mef.iele0.1.01@gmail.com +go.dw.i.n..em.efi.e.le.0.101@gmail.com +g.odwin..e.m.e.fi.el.e.0.10.1@gmail.com +g.o.dwi.n.e.m.efi.el.e.0.101@gmail.com +go.dwin.eme.f.i.el.e.0.10.1@gmail.com +g.odw.i.n..eme.fi.e.le0.10.1@gmail.com +go.d.w.i.n.eme.f.ie.l.e01.01@gmail.com +godwin.e.m.efie.le.0.1.0.1@gmail.com +go.dwi.n...e.m.efiele.0.10.1@gmail.com +go.d.w.i.n.emef.i.ele.01.01@gmail.com +g.od.w.i.n...em.e.fiele0.10.1@gmail.com +g.o.d.w.in...e.mef.iel.e0.10.1@gmail.com +god.win...emefie.l.e0.101@gmail.com +god.wi.n..e.m.efi.e.l.e01.0.1@gmail.com +god.win...em.e.f.iele0.1.0.1@gmail.com +g.odwin...emef.ie.le.010.1@gmail.com +god.wi.n..e.m.efi.e.le0.1.0.1@gmail.com +g.od.win..em.e.f.i.el.e0.1.0.1@gmail.com +g.o.d.win...e.m.e.fi.el.e0.10.1@gmail.com +g.odw.in..e.mef.i.e.le.01.0.1@gmail.com +godw.in..em.efie.le.0.10.1@gmail.com +godwi.n...e.m.e.fie.l.e0.1.01@gmail.com +g.odw.i.n..e.m.e.f.iele010.1@gmail.com +god.wi.n..e.m.e.f.i.e.l.e.0.10.1@gmail.com +go.dwi.n..e.mef.i.e.le01.0.1@gmail.com +go.d.w.i.n...e.me.f.iel.e.0.1.0.1@gmail.com +g.o.d.w.in..em.e.f.i.el.e0.1.01@gmail.com +g.o.d.win.emef.i.ele01.01@gmail.com +g.od.win..em.e.fiel.e.0101@gmail.com +go.dw.i.n..e.mefi.el.e.01.0.1@gmail.com +godwi.n...emef.i.el.e0101@gmail.com +godw.in.em.ef.iel.e.01.01@gmail.com +go.dw.in..e.mef.ie.l.e0.10.1@gmail.com +go.d.w.in.em.e.fiel.e0.10.1@gmail.com +g.o.dw.i.n..e.m.efiele.01.0.1@gmail.com +godwin.e.me.f.iele.01.0.1@gmail.com +go.dw.i.n..em.e.fie.le01.01@gmail.com +god.wi.n.em.ef.i.el.e.0.1.01@gmail.com +g.odwin..e.me.f.i.e.le0.10.1@gmail.com +g.odwin..e.me.fiel.e01.0.1@gmail.com +god.w.in..e.me.fie.l.e0101@gmail.com +g.odwi.n...e.me.f.i.e.l.e0.101@gmail.com +godw.in..em.e.f.iele.01.0.1@gmail.com +go.d.w.in...em.e.f.iele0.10.1@gmail.com +go.d.win...e.m.e.f.i.e.le0.10.1@gmail.com +go.d.w.i.n..e.m.efi.e.le0.1.01@gmail.com +go.d.w.i.n.eme.fi.e.le.0.1.01@gmail.com +godw.in.emefie.l.e0101@gmail.com +g.odwi.n..e.m.ef.ie.l.e010.1@gmail.com +g.o.d.w.in..e.mef.ie.le01.01@gmail.com +g.od.w.i.n..e.m.e.f.iel.e.0101@gmail.com +g.od.w.i.n.emef.iele.0.1.0.1@gmail.com +g.o.dw.i.n..emef.i.ele0.1.01@gmail.com +godw.in...em.e.fiele.01.0.1@gmail.com +god.wi.n..e.m.e.fi.el.e.0101@gmail.com +go.d.w.i.n..emef.iele.0.101@gmail.com +g.o.d.w.i.n..e.mefiel.e.0101@gmail.com +g.odw.i.n.e.me.fi.e.le.0101@gmail.com +go.dw.i.n...e.mefie.le01.01@gmail.com +g.odw.i.n..e.me.f.iele010.1@gmail.com +g.odw.in.emef.i.e.le.01.01@gmail.com +go.d.win..em.e.f.ie.l.e0101@gmail.com +go.dwin..em.ef.ie.le01.0.1@gmail.com +godwi.n..e.mef.i.e.l.e.01.01@gmail.com +g.od.wi.n..e.mefie.le010.1@gmail.com +g.o.dwi.n..e.mef.i.e.le.0.10.1@gmail.com +g.o.dw.in..e.me.fie.le.01.01@gmail.com +godwi.n.e.mefie.l.e0.10.1@gmail.com +go.d.w.i.n..e.mef.i.e.le.01.0.1@gmail.com +godwi.n...e.m.ef.i.ele.010.1@gmail.com +g.odw.in...e.mefi.el.e0101@gmail.com +g.o.d.win.e.me.f.ie.l.e01.01@gmail.com +g.odwi.n..emefie.le.01.01@gmail.com +g.o.dwin..em.e.fi.ele.01.01@gmail.com +go.d.win..e.m.efie.le.0101@gmail.com +g.od.w.i.n.e.mef.i.el.e0.1.01@gmail.com +godw.i.n.e.m.efiel.e0.10.1@gmail.com +g.o.dw.in.eme.fie.le.01.01@gmail.com +g.odwi.n...e.m.ef.i.e.le.0101@gmail.com +g.o.d.win..e.mef.iel.e0101@gmail.com +g.o.d.w.in...emef.i.el.e0.101@gmail.com +g.odw.i.n.e.m.efi.e.l.e.010.1@gmail.com +god.w.i.n..em.e.fiele.0.1.0.1@gmail.com +g.od.w.in...emef.iele.0.1.01@gmail.com +g.o.dwin...em.e.fiele.01.01@gmail.com +god.w.in...e.m.e.f.i.ele0.101@gmail.com +g.od.wi.n..e.me.fi.e.l.e.0.101@gmail.com +g.o.dwin...emef.iel.e010.1@gmail.com +godwin..e.me.fie.le0.101@gmail.com +g.odwi.n..e.m.ef.i.e.l.e.01.0.1@gmail.com +god.wi.n..e.me.f.i.e.le.010.1@gmail.com +g.o.dwi.n...em.efie.le0.101@gmail.com +go.dwin..emefi.e.le01.0.1@gmail.com +go.dwin..e.m.efiele01.01@gmail.com +god.win...e.m.e.f.i.ele0.101@gmail.com +g.odwin..e.me.f.iele.0.10.1@gmail.com +g.od.w.i.n..em.e.fi.e.le01.01@gmail.com +godw.in..e.me.f.ie.l.e0101@gmail.com +g.odw.in..em.ef.i.el.e0.10.1@gmail.com +g.o.dw.i.n...em.ef.i.el.e.01.0.1@gmail.com +g.od.win...em.e.fi.e.le0101@gmail.com +go.d.wi.n.em.e.fie.l.e.0.1.0.1@gmail.com +g.od.win..e.mef.iel.e010.1@gmail.com +godwin...em.e.f.i.el.e.01.0.1@gmail.com +go.dw.in..e.me.fi.e.l.e0.1.01@gmail.com +go.d.win.emef.i.e.le.01.0.1@gmail.com +god.w.in...e.m.ef.i.el.e.0.101@gmail.com +go.dwi.n..e.me.f.i.e.le010.1@gmail.com +g.o.dw.i.n...e.m.e.fie.l.e0.1.01@gmail.com +g.o.d.w.i.n..e.m.efiel.e01.0.1@gmail.com +go.d.wi.n..e.m.ef.i.el.e.0.10.1@gmail.com +go.d.wi.n...em.e.f.iel.e01.0.1@gmail.com +g.o.d.w.in...e.mefi.el.e01.0.1@gmail.com +go.d.w.i.n..em.efiele010.1@gmail.com +g.o.dwin..e.mef.i.e.l.e0101@gmail.com +g.odwi.n..e.mef.i.e.l.e.0.10.1@gmail.com +go.d.w.i.n.em.e.fiel.e010.1@gmail.com +god.w.in.eme.f.iele010.1@gmail.com +g.od.w.in..eme.fie.le010.1@gmail.com +g.o.dwi.n...emefie.l.e0.1.0.1@gmail.com +g.odwi.n.em.efiele.0.101@gmail.com +g.o.dw.i.n..e.m.e.fie.le0.101@gmail.com +go.d.win..em.ef.ie.le.0.1.01@gmail.com +g.o.dwin...e.me.f.ie.l.e.0.101@gmail.com +god.win...eme.f.i.e.l.e.01.01@gmail.com +go.dw.i.n..emef.iel.e.0.101@gmail.com +g.odw.i.n...e.m.e.f.i.el.e.0.1.01@gmail.com +go.dw.i.n...emef.i.e.le.01.0.1@gmail.com +go.dwi.n...e.m.e.f.iel.e.0.10.1@gmail.com +go.d.wi.n...emefiel.e01.0.1@gmail.com +go.d.w.in..e.mefie.le0101@gmail.com +go.d.win.e.m.efiele010.1@gmail.com +g.odw.in...em.ef.iel.e.0.101@gmail.com +godwi.n...e.me.f.i.e.le0101@gmail.com +godwi.n..e.m.ef.ie.le.0.101@gmail.com +g.odw.in.em.e.fiel.e0.1.01@gmail.com +g.o.dw.i.n..e.m.e.f.ie.l.e0.101@gmail.com +go.dw.i.n..emefi.ele.0.101@gmail.com +god.w.in..e.mef.ie.l.e0.1.01@gmail.com +god.w.i.n...e.me.f.i.el.e.01.01@gmail.com +go.dw.in..eme.f.i.e.l.e.0.101@gmail.com +g.o.dwin.e.m.efi.el.e01.0.1@gmail.com +g.o.dw.i.n..e.mef.i.el.e.01.01@gmail.com +go.dw.in..e.me.fiel.e010.1@gmail.com +go.d.wi.n...emef.ie.le.010.1@gmail.com +g.o.dwi.n.e.mefi.e.l.e.0.1.0.1@gmail.com +g.o.d.w.i.n..eme.fiel.e0101@gmail.com +g.odw.in..eme.fiel.e.0.10.1@gmail.com +g.od.win..em.e.f.i.ele.01.01@gmail.com +go.d.w.i.n.e.me.fi.e.l.e.0.1.01@gmail.com +g.odwi.n...em.e.f.ie.l.e0.10.1@gmail.com +godwi.n..e.mefi.el.e0.1.0.1@gmail.com +g.od.w.i.n...em.e.f.i.el.e.0.1.0.1@gmail.com +go.dwin..eme.f.i.e.l.e.010.1@gmail.com +go.dwin..em.e.f.i.el.e0.101@gmail.com +g.odwin.e.m.e.fi.ele.010.1@gmail.com +g.odw.in...e.m.efi.e.le.0.10.1@gmail.com +g.odw.in.e.mefi.ele0.1.0.1@gmail.com +godwin..e.m.ef.ie.l.e0.101@gmail.com +go.dwi.n..e.m.ef.iele.0.1.01@gmail.com +g.o.d.w.in...emef.i.e.l.e01.01@gmail.com +g.o.dw.in...e.me.f.i.e.l.e.0.10.1@gmail.com +godwin..emef.i.el.e0.1.01@gmail.com +g.o.d.w.in..em.ef.iele.0.10.1@gmail.com +godwin.emefiele0000@yahoo.com" +nkG5GmhM,Task375,wingman007,C#,Monday 20th of November 2023 03:50:46 AM CDT,"using System.Reflection.Emit; + +namespace MagiMiit2023 +{ + internal class Program + { + static void Main(string[] args) + { + int[] randList = new int[32]; + Random randGen = new Random(); + + PopulateArray(randList, randGen); + + PrintPositive(randList); + + int[] numbers = new int[7]; + InputArray(numbers); + Console.WriteLine(SumNegativeOrGreateThan200(numbers)); + + Console.Write(""Please, enter a = ""); + int a = int.Parse(Console.ReadLine()); + Console.Write(""Please, enter b = ""); + int b = int.Parse(Console.ReadLine()); + Console.Write(""Please, enter c = ""); + int c = int.Parse(Console.ReadLine()); + + Console.WriteLine(Sred(Math.Abs(a - b)) - Sred(c + a)); + } + + static void PopulateArray(int[] array, Random generator) + { + for (int i = 0; i < array.Length; i++) + { + array[i] = generator.Next(0, 50); + } + } + + static void PrintPositive(int[] array) + { + foreach (var item in array) + { + if (item >= 0) Console.WriteLine(item); + } + } + + static void InputArray(int[] array) + { + for (int i = 0; i < array.Length; i++) + { + Console.Write($""Please, enter a value for element[{i}] = ""); + array[i] = int.Parse(Console.ReadLine()); + } + } + + static int SumNegativeOrGreateThan200(int[] array) + { + int sum = 0; + for (int i = 0; i < array.Length; i++) + { + if (array[i] <= 0 || array[i] > 200) + { + sum += array[i]; + } + } + return sum; + } + + static double Sred(int k) + { + int sum = 0; + Random randGen = new Random(); + int randomNumber; + int counter = 0; + for (int i = 0; i < k; i++) + { + randomNumber = randGen.Next(); + if (randomNumber >= 10 && randomNumber <= 100) + { + sum += randomNumber; + counter++; + } + } + return (counter > 0) ? sum / counter : 0; + } + } +}" +8myfzrUH,Untitled,dino121123,JSON,Monday 20th of November 2023 03:27:15 AM CDT,"// Multisim +https://drive.google.com/drive/folders/1G4Z6CTgkJeP2wT7SXvXRPZrkR-Ffv-j-?usp=sharing + +// OrCad +https://drive.google.com/file/d/1Iq0vXltpwY7zovHLOwM5zjo9Gg9vNFfo/view?usp=sharing" +RB8mf3Mb,Untitled,yarin0600,C,Monday 20th of November 2023 03:25:01 AM CDT,"#include +#include +#include + +char *concatWords(char *w1, char *w2, char *w3); +void initWords(char *w1, char *w2, char *w3); +void initWord(char **w, const char *wordNumber); + +int main(int argc, char **argv) +{ + char words1[10] = {'\0'}; + char words2[10] = {'\0'}; + char words3[10] = {'\0'}; + initWords(words1, words2, words3); + return 0; +} + +char *concatWords(char *w1, char *w2, char *w3) +{ + int i; + char *w4; + int totalSize = strlen(w1) + strlen(w2) + strlen(w3) + 1; + w4 = (char *)malloc(totalSize); + + if (!w4) + { + printf(""Memory allocation failed, try again!\n""); + return NULL; + } + + strcpy(w4, w1); + strcat(w4, w2); + strcat(w4, w3); + + printf(""w4 = %s\n"", w4); + return w4; +} + +void initWords(char *w1, char *w2, char *w3) +{ + initWord(&w1, ""first""); + initWord(&w2, ""second""); + initWord(&w3, ""third""); + + char *result = concatWords(w1, w2, w3); + if (!result) + return; + + printf(""result = %s\n"", result); + free(result); +} + +void initWord(char **w, const char *wordNumber) +{ + printf(""Please insert the %s word that it's max length is 10 letters:\n"", wordNumber); + scanf(""%10s"", *w); + printf(""You chose to insert the word: %s"", *w); +}" +hyda8zVR,BDOT LR4,MARSHAL327,Scala,Monday 20th of November 2023 03:20:15 AM CDT,"package sevsu.spark + +import java.nio.file.Paths + +import org.apache.spark.{SparkConf, SparkContext} +import org.apache.spark.rdd.RDD + +object Application { + private val conf: SparkConf = new SparkConf() + .setMaster(""local[*]"") + .setAppName(""spark_example"") + .set(""spark.ui.showConsoleProgress"", ""false"") + + private val sc: SparkContext = getSparkContext(conf) + + private val resourcesRoot: String = this.getClass.getResource(""/"").toString + private val personPath: String = resourcesRoot + ""person.csv"" + private val apartmentPath: String = resourcesRoot + ""apartment.csv"" + + case class Person(id: Int, name: String) + + case class Apartment(id_apartment: Int, id_human: Int, num_rooms: Int, address: String) + + def main(args: Array[String]): Unit = { + val rawPersonRdd: RDD[String] = sc.textFile(personPath) + val rawApartmentRdd: RDD[String] = sc.textFile(apartmentPath) + val persons = rawPersonRdd.map(strPerson => { + strPerson.split("","").map(_.trim) match { + case Array(id, name) => Person(id.toInt, name) + } + }) + val apartments = rawApartmentRdd.map(strPerson => { + strPerson.split("","").map(_.trim) match { + case Array(id_apartment, id_human, num_rooms, address) => Apartment(id_apartment.toInt, id_human.toInt, num_rooms.toInt, address) + } + }) + + + // ====== Task 1 ====== + val personCounter: RDD[(Int, Int)] = apartments.map(item => (item.id_human, 1)) + val numPersonApartments = personCounter.reduceByKey((a, b) => a + b) + val numApartmentsPerson = numPersonApartments.map(_.swap).groupByKey().sortByKey() + + println(numApartmentsPerson.collect().mkString(""\n"")) + + + // ====== Task 2 ====== + val personPairRDD = persons.map(item => (item.id, item.name)) + val joined = personPairRDD join numPersonApartments + val numPersonNameApartments = joined.map(item => item._2) + + println(numPersonNameApartments.collect().mkString(""\n"")) + + + // ====== Task 3 ====== + val personApartmentsAddress = apartments + .filter(_.num_rooms > 2) + .map(item => + (item.id_human, item.address) + ) + val personNameAddressWithId = personApartmentsAddress join personPairRDD + val personNameAddress = personNameAddressWithId.map(item => item._2) + + println(personNameAddress.collect().mkString(""\n"")) + + + sc.stop() + } + + private def getSparkContext(conf: SparkConf): SparkContext = { + if (System.getProperty(""os.name"").toLowerCase.contains(""windows"")) { + System.setProperty( + ""hadoop.home.dir"", + Paths.get(this.getClass.getResource(""/winutils/hadoop-2.7.1/"").toURI).toString + ) + } + + new SparkContext(conf) + } +} +" +RbGGdTzq,debut de routine pour pulse circle,glokyfull,Motorola 68000 HiSoft Dev,Monday 20th of November 2023 03:19:45 AM CDT,"; +; +; +; create pulse circle +; version 0.0001 +; un tri qui n'a pas l'air buggé +; tres peu rapide et sans stoquage des index, pas besoin dans ce que je vais faire +; ca consiste a prendre le min d'une table et de le swaper avec le premier element et recommencer +; note, le tri utilisé pendant l'init donc pas besoin de vitesse +; +; effet qui va etre incorporé a la routine de sprite + + +; code de type meduse +; avec cliping haut bas +; et tri de chaque cercle de point suivant cet ordre +; pour chaque decalage, classement de l'offset le plus petit au plus grand +; un pointeur pour chaque point +; un code legerement differnt dans le code gerne de point: +; instead of +; or d0,dep(a0) +; on a : +; lea dep(a2),a0 +; or d0,(a0) +; move a0,(a1)+ ; offset pour effacement sachant que le debut de l'ecran est a 0 pile poil +; il faut une version du cercle avec or.W une autre avec or.l et add.l d0,d0 pour 3 type de couleur +; 01 10 11 +; et faire ainsi des grand cercle sombre par exemple jusqu'a plus clair au centre +; épissétout +; + +; dans chaque partie + + + +; routine qui lit les offset dans l'ordre de grandeur de celle ci +; du plus petit eu plus grand + +testcode: + jmp patatra + lea listepouri,a0 + move.w #19,d0 ; 16 element pas 16-1 + jsr orderlist + nop + + lea listepouri,a0 + illegal + + + +;listepouri dc.w 15,13,12,12,14,1,4,3,7,9,10,20,70,63,6,6 + +listepouri dc.w 100,90,80,10,60,60,50,50,40,40,30,30,30,10,5,4,2,1,0 +orderlist +; a0 = adresse liste +; d0 = nombre d'element + + + move.w d0,-(sp) + move.l a0,a1 + move.w d0,d1 + beq.s .nothing + subq #1,d1 + moveq #0,d2 + moveq #0,d4 + move.W #$7FFF,d3 ; d3 la valeur minimum qui au premier passage sera changé + +.loop + move.w (a0)+,d2 + cmp.w d3,d2 + bgt.s .1 + move.w d2,d3 ; d30 + move.w d3,d4 + add d4,d4 ; pas interne*2 + move.w d4,d5 + add.w d5,d5 ; pas interne*4 + neg.w d0 + move.w d0,.auto1+2 ; nombre d'elements + move.w d0,.auto1b+2 + add.w d0,d0 + move.w d0,.auto2+2 + move.w d0,.auto2b+2 + move.w d0,.auto2c+2 + add.w d0,d0 + move.w d0,.auto3+2 + move.w d0,.auto3b+2 +;---------------------------------------- + bra.s .loop +.loopaddq + addq.w #2,a3 + addq.w #4,a1 + ; ps le tst.b (a2) deux ligne plus loin est redondant quand on sort de la boucle dans le code flaga1 + move.w (a3),d7 + bra.s .11 +.loop + move.w (a3),d7 + tst.b (a2) + bne.s .flaga1 +.11 st.b (a2) + move.l a0,(a1) ; on stoque l'adresse de la valeur dans table refsin + move.w d7,(a0)+ + ; on met a jour a3 avec le pas interne*2 + ; on met a jour a2 avec le pas interne (flags) + add.w d3,a2 + add.w d4,a3 + add.w d5,a1 + + cmp.l a2,a5 + bgt.s .loop +.auto1 + lea 0(a2),a2 +.auto2 + lea 0(a3),a3 +.auto3 + lea 0(a1),a1 + bra.s .loop +.flaga1 + move.w d2,d6 ; nombre de copie + ;subq.w #1,d6 + + move.l a3,-(sp) +.cpy + move.w d7,(a0)+ + add.w d4,a3 + cmp.l a3,a4 + bgt.s .1 +.auto2b + lea 0(a3),a3 + +.1 + move.w (a3),d7 + dbf d6,.cpy + move.l (sp)+,a3 + + addq.w #1,a2 + cmp.l a2,a5 + bgt.s .2 +.auto1b + lea 0(a2),a2 +.auto2c + lea 0(a3),a3 +.auto3b + lea 0(a1),a1 +.2 + ; s'assurer qu'on est pas en fin de tableau: + ; + ; + + tst.b (a2) + beq.s .loopaddq +.fin + move.l (sp)+,a1 + + rts + + BSS +segmentX ds.w 1 +segmentY ds.w 1 +tempbuffer + ds.w 2048 + + TEXT +; +; +; +; mem lib +; + +;; exemple d'utilisation +; move.l #buffer,d0 +; move.l #8*65536,d1 taille totale du buffer aligné sur 64k +; jsr getmem1 +; lea -16*4(a0),a0 +; nop +; nop +; nop +; nop +; illegal +; format de memoire +;toto ; le label toto est la pour verifier l'algo +; ds.b 65536 +;buffer ds.l 65536*2 8*64k ; buffer sera aligné sur 64k donc un peu avant +;fin ; et apres un peu de memoire libre entre fin buffer et label fin + +getmem1: + +; d0 = adresse segment 64k non aligné +; d1 = nombre de segment a la suite*64k +; retour: a0 = liste d'adresse +; (a0)+ = 32k buffer +; (a0)+ = 16k buffer +; (a0)+ = 8k buffer +; (a0)+ = 4k buffer +; (a0)+ = 2k +; (a0)+ = 1k +; (a0)+ = 512 +; (a0)+ = 256 +; (a0)+ = 128 +; (a0)+ = 64 octet +; +; a0: 64 octet = 16 adresses + + ; metre le buffer start dans d4 + + moveq.w #1,d5 + swap d5 + move.l d0,d4 + sub.l d5,d4 ; start memoire basse + move.l d0,d3 + clr.w d3 ; debut multiple de 64k fin memoire basse + ; d3 = start segment + + + move.l d4,d7 + sub.l d3,d7 ; d7 = taille en bas + ; d4 = start bas + + add.l d1,d3 ; d3+ 4*64k = adresse start haut + + + + lea ptrMem,a0 + moveq #0,d6 + move.w #$8000,d6 + +.loop + move.w d6,d1 + and.w d7,d1 + + ; bit 15 a 0 ? + tst.w d1 + bne.s .before ; was beq + move.l d3,(a0)+ + add.l d6,d3 + + bra.s .suite +.before + move.l d4,(a0)+ + add.l d6,d4 +.suite + lsr #1,d5 + bne.s .loop ; ici ca s'arrete a un buffer de 1 octet il faudrai faire un meilleur test + + lea -64(a0),a0 ; et s'arreter a un plus gros buffer + rts + + + + +ptrMem ds.l 16 ; dans ram apres l'appel de getmem1 adresses contenant les bloc memoire utilisable comme on veut + +;;; ; les label entour? de ;;; doivent etre dans l'ordre et contigu (ne pas deplacer l'un des label) +;ptrtabsin1 ds.l 1 +;ptrtabsin2 ds.l 1 +;ptrtabsin3 ds.l 1 +;ptrtabsin4 ds.l 1 +ptr16k ds.l 1 +ptr4k ds.l 1 +ptrflag ds.l 1 +;;; + +" +6QAeBAnk,inter,575,C++,Monday 20th of November 2023 03:04:56 AM CDT,"std::vector> getFlightsList() +{ + std::vector> flights; + // Тут что то делается и возвращается список перелетов компании + /* + Москва - Берлин + Берлин - Вена + Москва - Берлин + Москва - Берлин + Берлин - Москва + Москва - Берлин + Вена - Берлин + Москва - Вена + Лондон - Вена + ... + */ + return flights; +} + +std::set getCitiesList(std::vector>& const flights) +{ + std::set result; + for (auto flight: flights) { + result.insert(flight.first); + result.insert(flight.second); + } + return result; +} +//пары уникальных полетов (Берлин - Москва и Москва - Берлин одинаковые) +std::set> getUniqueFlights(std::vector> flights) +{ + std::set> result; + for (auto flight: flights) { + if (result.contains(flight) || result.contains(std::pair {flight.second, flight.first})) { // {flight.second, flight.first} + result.insert(flight); + } + } + return result; +} +//https://interview.cups.online/live-coding/?room=02c5c385-b6e3-4690-9a33-0444e641737c + + +int main() +{ + auto flights = getFlightsList(); + auto cities = getCitiesList(flights); + auto uniqueFlights = getUniqueFlights(flights); + + return 0; +}" +d6uEW6WN,Untitled,Nanoic,Python,Monday 20th of November 2023 02:56:07 AM CDT,"import random as rand + + +def handle_response(message) -> str: + p_message = message.lower() + + if p_message == 'hello': + return 'hey there!' + + if p_message == 'roll': + return str(rand.randint(1, 20)) + + if p_message == '!help': + return ""This is a help that you can modify"" + +" +JbQWbihz,Untitled,Nanoic,Python,Monday 20th of November 2023 02:55:43 AM CDT,"import discord +import responses + + +async def send_message(message, user_message, is_private): + try: + response = responses.handle_response(user_message) + await message.author.send(response) if is_private else await message.channel.send(response) + except Exception as ex: + print(ex) + + +def run_discord_bot(): + TOKEN = 'REMOVED' + client = discord.Client() + + @client.event + async def on_ready(): + print(f'{client.user} is now running!') + + @client.event + async def on_message(message): + if message.author == client.user: + return + + username = str(message.author) + user_message = str(message.content) + channel = str(message.channel) + + print(f""{username} said: ' {user_message} ({channel})"") + + if user_message[0] == '?': + user_message = user_message[1:] + await send_message(message, user_message, is_private=True) + else: + await send_message(message, user_message, is_private=False) + + client.run(TOKEN) +" +CtmHrCcf,snowybot supersnowzy strikes back,coinwalk,JavaScript,Monday 20th of November 2023 02:13:48 AM CDT,"var originalbal = parseFloat(document.getElementById('pct_balance').value); +var base = (0.0001*1).toFixed(8); +var floatingbase = base; +var taget = (originalbal*3); +var groupedten = (base*10); +var groupedseven = (base*6.9); +var groupedeight = (base*7.5); +var tobetnext = ((floatingbase*1).toFixed(8)); +var bolance = originalbal; +var amen = ((Math.floor(originalbal/groupedten))*groupedten); +var fart = 0; +var upper = 6.9; +var downer = 2.9; +var noob = originalbal + +function get(){ +console.clear(); +bolance = document.getElementById('pct_balance').value; +if (bolance>(amen+(floatingbase*upper))){ + floatingbase = floatingbase*2; + fart = fart+1; + upper = 4.9; + downer = 4.9; + amen = parseFloat(bolance); +} +if (bolance<(amen-(floatingbase*downer))){ + floatingbase = floatingbase*2; + fart = fart+1; + upper = 4.9; + downer = 4.9; + amen = parseFloat(bolance); +} +if ((fart>=2)&&(bolance<(((Math.floor(bolance/groupedten))*groupedten)+groupedseven))){ + floatingbase = base; + fart = 0; + upper = 6.9; + downer = 2.9; + amen = ((Math.floor(bolance/groupedten))*groupedten); +} + if (bolance >= taget) { + console.log(""winner winner chicken dinner""); + return; + } +tobetnext = (floatingbase*1).toFixed(8); +$('#pct_chance').val(49.5); +$('#pct_bet').val(tobetnext); +$('#a_lo').click(); +var good = ((bolance-originalbal).toFixed(8)); +console.log(""profit""); +console.log(good); +setTimeout(() => get(), 1000); +} +get();" +7Rj7CCWL,Untitled,robertnet,Lua,Monday 20th of November 2023 01:49:17 AM CDT,"local gunData={}do +local v3=Vector3.new +local cf=CFrame.new +local angles=CFrame.Angles +local deg=math.pi/180 +local new=Instance.new +local function anglesyx(x,y) +local cx=math.cos(x) +return v3(-cx*math.sin(y),math.sin(x),-cx*math.cos(y)) +end +gunData.name=""M16A4"" +gunData.type =""ASSAULT"" +gunData.unlockrank=22 +gunData.lhold3p=v3(0.02,0.17,-0.25) +gunData.rhold3p=v3(0.01,0.82,-0.25) +gunData.offset3p=cf(-0.1,0.03,-2.4)*angles(-90*deg,0*deg,-180*deg) +gunData.drawcf3p=cf(-0.16,-1.03,-1.05)*angles(-92*deg,-22*deg,-113*deg) +gunData.sprintcf3p=cf(-0.16,-1.03,-1.05)*angles(-92*deg,-22*deg,-113*deg) +gunData.forward3p=anglesyx(20*deg,45*deg) +gunData.pivot3p=cf(0.8,0.7,0) +gunData.aimpivot3p=cf(0.5,0.8,-0.1) +gunData.headaimangle3p=-0.4 +gunData.suppression=0.5 +gunData.mainpart=""Trigger"" +gunData.mag=""Mag"" +gunData.bolt=""Bolt"" +gunData.barrel=""Flame"" +gunData.sight=""SightMark"" +gunData.barreloffset=cf(0,0,3) +gunData.shelloffset=cf(.2,.0,-0.6) +gunData.firesoundid=""rbxassetid://137983646"" +gunData.firepitch=1.3 +gunData.firevolume=0.5 +gunData.magsize=30 +gunData.chamber=1 +gunData.sparerounds=120 +gunData.firerate=900 +gunData.firemodes={3,1} +gunData.crosssize=30 +gunData.crossexpansion=300 +gunData.crossspeed=15 +gunData.crossdamper=0.7 +gunData.hipfirespread=0.06 +gunData.hipfirestability=0.85 +gunData.hipfirespreadrecover=9 +gunData.damage0=34 +gunData.damage1=24 +gunData.range0 =45 +gunData.range1 =85 +gunData.multhead =1.4 +gunData.multtorso=1 +gunData.bulletspeed=2500 +gunData.penetrationdepth=1 +gunData.minexitvelocity=500 +gunData.rotkickmin=v3(-0.6,0.5,-0.3) +gunData.rotkickmax=v3(1.2,1.2,0.3) +gunData.transkickmin=v3(-0.5,0.6,4.2) +gunData.transkickmax=v3(0.8,1.1,5.5) +gunData.camkickmin=v3(1.3,-0.6,-0.3) +gunData.camkickmax=v3(1.7,-0.1,0.3) +gunData.camkickspeed=18 +gunData.aimrotkickmin=v3(0.2,-0.1,-0.1) +gunData.aimrotkickmax=v3(0.4,0.1,0.1) +gunData.aimtranskickmin=v3(-0.1,0.2,6.5) +gunData.aimtranskickmax=v3(0.1,0.5,8.8) +gunData.aimcamkickmin=v3(1.7,-0.43,-0.5) +gunData.aimcamkickmax=v3(1.9,0.3,0.5) +gunData.aimcamkickspeed=20 +gunData.modelkickspeed=23 +gunData.modelrecoverspeed=15 +gunData.modelkickdamper=0.85 +gunData.aimkickmult=0.5 +gunData.aimwalkspeedmult=0.7 +gunData.walkspeed=14 +gunData.zoom=2.5 +gunData.mainoffset=cf(0.65,-1,-1.3) +gunData.aimoffset=cf(-0.65,0.34,0.1) +gunData.sprintoffset=cf(-0.47,-0.2,0.1)*angles(-23*deg,35*deg,50*deg) +gunData.equipoffset=cf(0.2,-0.9,0.4)*angles(0*deg,60*deg,0*deg)*angles(-25*deg,0,0) +gunData.proneoffset=cf(0.05,0.1,0.1) +gunData.larmoffset=cf(-0.45,-0.1,-0.3)*angles(95*deg,0,25*deg) +gunData.larmaimoffset=cf(-0.32,-0.09,-0.41)*angles(103*deg,-1*deg,17*deg) +gunData.larmsprintoffset=cf(-0.47,-0.08,-0.3)*angles(99*deg,-6*deg,21*deg) +gunData.larmequip=cf(-0.2,-0.3,0.4)*angles(90*deg,0,10*deg) +gunData.rarmoffset=cf(0.18,-0.1,0.8)*angles(90*deg,0,-5*deg) +gunData.rarmaimoffset=cf(0.3,-0.3,0.6)*angles(103*deg,0*deg,-16*deg) +gunData.rarmsprintoffset=cf(-0.05,-0.15,0.84)*angles(95*deg,-1*deg,4*deg) +gunData.rarmequip=cf(0.1,-0.3,.8)*angles(90*deg,0,0) +gunData.boltoffset=cf(0,0,0) +gunData.bolttime=60/780 +gunData.aimspeed=15 +gunData.sprintspeed=14 +gunData.magnifyspeed=12 +gunData.cameraspeed=12 +gunData.equipspeed=12 +gunData.ammotype=""5.56x45mm NATO"" +gunData.attachments={ +Optics={ +[""Coyote Sight""]={ +aimoffset=cf(-0.65,0.32,0.1), +zoom=2.2, +}, +[""Reflex Sight""]={ +aimoffset=cf(-0.65,0.3,0.1), +zoom=1.8, +}, +[""Kobra Sight""]={ +aimoffset=cf(-0.65,0.27,0.1), +zoom=2.5, +aimwalkspeedmult=0.6, +}, +[""EOTech XPS2""]={ +aimoffset=cf(-0.65,0.325,0.1), +zoom=2.5, +}, +[""EOTech 552""]={ +aimoffset=cf(-0.65,0.32,0.1), +zoom=2, +}, +[""MARS""]={ +aimoffset=cf(-0.6525,0.25,0.1), +aimwalkspeedmult=0.6, +}, +[""C79""]={ +aimoffset=cf(-0.65,0.28,0.1), +aimwalkspeedmult=0.5, +}, +[""PK-A""]={ +aimoffset=cf(-0.65,0.27,0.1), +aimwalkspeedmult=0.5, +}, +[""Comp Aimpoint""]={ +aimoffset=cf(-0.6525,0.28,0.1), +aimwalkspeedmult=0.5, +}, +[""Z-Point""]={ +aimoffset=cf(-0.6525,0.3,0.1), +aimwalkspeedmult=0.5, +}, +[""M145""]={ +aimoffset=cf(-0.65,0.26,0.1), +}, +[""PKA-S""]={ +aimoffset=cf(-0.652,0.21,0.1), +aimwalkspeedmult=0.5, +}, +[""Acog Scope""]={ +aimoffset=cf(-0.65,0.28,0.1), +aimwalkspeedmult=0.5, +}, +[""Vcog 6x Scope""]={ +aimoffset=cf(-0.65,0.25,0.3), +aimspeed=gunData.aimspeed*0.7, +aimcamkickspeed=gunData.aimcamkickspeed*1.1, +}, +}, +Barrel={ +[""R2 Suppressor""]={ +}, +[""ARS Suppressor""]={ +}, +[""PBS-1 Suppressor""]={ +}, +[""PBS-4 Suppressor""]={ +}, +[""Suppressor""]={ +}, +[""Flash Hider""]={ +}, +[""Muzzle Brake""]={ +}, +[""Compensator""]={ +}, +}, +Underbarrel={ +[""Vertical Grip""]={ +larmoffset=cf(-0.45,-0.2,-0.6)*angles(95*deg,0,25*deg), +larmaimoffset=cf(-0.32,-0.2,-0.6)*angles(103*deg,-1*deg,17*deg), +larmsprintoffset=cf(-0.4,-0.2,-0.6)*angles(99*deg,-6*deg,21*deg), +}, +[""Angled Grip""]={ +larmoffset=cf(-0.45,-0.1,-0.5)*angles(95*deg,0,25*deg), +larmaimoffset=cf(-0.32,-0.1,-0.5)*angles(103*deg,-1*deg,17*deg), +larmsprintoffset=cf(-0.4,-0.1,-0.5)*angles(99*deg,-6*deg,21*deg), +}, +[""Folding Grip""]={ +larmoffset=cf(-0.45,-0.2,-0.6)*angles(95*deg,0,25*deg), +larmaimoffset=cf(-0.32,-0.2,-0.6)*angles(103*deg,-1*deg,17*deg), +larmsprintoffset=cf(-0.4,-0.2,-0.6)*angles(99*deg,-6*deg,21*deg), +}, +[""Stubby Grip""]={ +larmoffset=cf(-0.45,-0.2,-0.6)*angles(95*deg,0,25*deg), +larmaimoffset=cf(-0.32,-0.2,-0.6)*angles(103*deg,-1*deg,17*deg), +larmsprintoffset=cf(-0.4,-0.2,-0.6)*angles(99*deg,-6*deg,21*deg), +}, +[""Laser""]={ +unlockkills=75 +}, +}, +Other={ +[""Laser""]={ +}, +[""Green Laser""]={ +node=""LaserNode"" +}, +[""Canted Iron Sight""]={ +altaimoffset=cf(-0.385,0.35,0.1)*angles(0.2*deg,0,45*deg), +altsight=""SightMark2"", +sidemount=""Ironmount3"", +mountnode=""IronNode"", +node=""OpticsNode"" +}, +[""Canted Delta Sight""]={ +altaimoffset=cf(-0.4,0.31,0.1)*angles(0.2*deg,0,45*deg), +altsight=""SightMark2"", +node=""OpticsNode"" +}, +[""Ballistics Tracker""]={ +}; +}, +} +gunData.animations={ +selector={ +stdtimescale=0.5; +timescale=0.5; +resettime=0.3; +{ +{part=""larm"";c1=cf(-0.81,-0.2,0.34)*angles(113*deg,0*deg,25*deg),t=0.4,eq=""smooth""}; +delay=0.6 +},{ +{part=""larm"";c1=cf(-0.73,-0.23,0.32)*angles(113*deg,0*deg,25*deg),t=0.1,eq=""decelerate""}; +delay=0.4 +}, +}; +spot={ +stdtimescale=0.5; +timescale=0.5; +resettime=0.3; +{ +{part=""larm"";c1=cf(-1.2,0.2,0.2)*angles(154*deg,-16*deg,3*deg),t=0.6,eq=""smooth""}; +delay=0.65 +},{ +{part=""larm"";c1=cf(-1.1,-0.05,0.1)*angles(100*deg,-19*deg,6*deg),t=0.5,eq=""smooth""}; +delay=0.5 +}, +}; +inspect={ +stdtimescale=0.5; +timescale=0.5; +resettime=0.5; +{ +{part=""larm"";c1=cf(-1.27,-1.19,0.49)*angles(59*deg,16*deg,46*deg),t=1,eq=""accelerate""}; +delay=0.3 +},{ +{part=""Trigger"";c1=cf(-0.02,-0.08,-0.21)*angles(27*deg,52*deg,-43*deg),t=1.5,eq=""smooth""}; +delay=4 +},{ +{part=""larm"";c1=""base"",t=0.8,eq=""smooth""}; +{part=""Trigger"";c1=cf(-1.24,-0.1,-0.31)*angles(25*deg,-46*deg,48*deg),t=2,eq=""smooth""}; +delay=0.8 +},{ +{part=""rarm"";c1=cf(0.1,-0.7,1.2)*angles(112*deg,-3*deg,0*deg),t=1,eq=""smooth""}; +delay=4 +}, +}; +parkour={ +stdtimescale=0.5; +timescale=0.5; +resettime=0.5; +{ +{part=""Trigger"";c1=cf(0.6,0.3,0.05)*angles(14*deg,-13*deg,-5*deg),t=0.5,eq=""smooth""}; +{part=""larm"";c1=cf(-1.11,-1.62,0.87)*angles(46*deg,-1*deg,-15*deg),t=0.3,eq=""smooth""}; +delay=0.5 +},{ +{part=""Trigger"";c1=""base"",t=0.9,eq=""smooth""}; +{part=""larm"";c1=""base"",t=1,eq=""smooth""}; +delay=1 +}, +}; +tacticalreload={ +stdtimescale=0.5; +timescale=0.5; +{ +{part=""Trigger"";c1=cf(0.1,0.14,0.05)*angles(3*deg,-4*deg,-20*deg),t=1,eq=""accelerate""}; +{part=""larm"";c1=cf(-0.35,-0.68,0.26)*angles(92*deg,1*deg,24*deg),t=0.6,eq=""decelerate""}; +delay=0.6 +},{ +{part=""larm"";c1=cf(-0.4,-1,0.05)*angles(84*deg,3*deg,27*deg),t=0.4,eq=""accelerate""}; +{part=""Mag"";c1=cf(0.05,-0.72,-0.85)*angles(90*deg,-8*deg,-90*deg),t=0.4,eq=""accelerate""}; +{part=""Flame"";sound=true,soundid=""http://roblox.com/asset/?id=147323220"",p=1.6,v=1,d=0.3}; +delay=0.1 +},{ +{part=""Trigger"";c1=cf(0.32,0.37,0.1)*angles(23*deg,-25*deg,-38*deg),t=0.8,eq={0,1.5,0.5,-0.2}}; +delay=0.3 +},{ +{part=""larm"";c1=cf(-1.2,-1.16,0.48)*angles(45*deg,-39*deg,-2*deg),t=0.3,eq=""linear""}; +{part=""Mag"";c1=cf(-0.92,-1.68,-0.33)*angles(68*deg,-40*deg,-109*deg),t=0.3,eq=""linear""}; +delay=0.2 +},{ +{part=""Trigger"";c1=cf(0.2,0.19,0.04)*angles(12*deg,-10*deg,-18*deg),t=1,eq={0,-1.3,1,1.3}}; +delay=0.1 +},{ +{part=""larm"";c1=cf(-1.86,-1.84,0.47)*angles(15*deg,-40*deg,-59*deg),t=0.45,eq=""decelerate""}; + {part=""Mag"";c1=cf(-4,-2.81,-0.5)*angles(-6*deg,-134*deg,148*deg),t=0.40,eq=""accelerate""}; +delay=0.4 +},{ +{part=""Mag"",clone=""dropmag"",transparency=1}; +{part=""dropmag"",drop=true,transparency=0}, +delay=0.05 +},{ +{part=""larm"";c1=cf(-1.26,-1.13,1.76)*angles(26*deg,10*deg,15*deg),t=0.4,eq=""accelerate""}; +{part=""Mag"";c1=cf(-0.72,-2.18,0.95)*angles(59*deg,9*deg,-87*deg),t=0.1,eq=""decelerate""}; +delay=0.4 +},{ +{part=""Trigger"";c1=cf(0.19,0.14,0.05)*angles(12*deg,-9*deg,-10*deg),t=1.3,eq={0,2,1.2,-1}}; +{part=""larm"";c1=cf(-0.7,-1.66,1.79)*angles(33*deg,13*deg,11*deg),t=0.4,eq=""decelerate""}; +{part=""Mag"",transparency=0;c1=cf(-0.62,-2.18,0.95)*angles(65*deg,9*deg,-87*deg),t=0.4,eq=""decelerate""}; +delay=0.4 +},{ +{part=""larm"";c1=cf(-0.61,-1.5,0.62)*angles(54*deg,-8*deg,5*deg),t=0.4,eq=""accelerate""}; +{part=""Mag"";c1=cf(-0.44,-1.74,-0.4)*angles(85*deg,-7*deg,-94*deg),t=0.4,eq=""accelerate""}; +delay=0.4 +},{ +{part=""larm"";c1=cf(-0.52,-1,0.26)*angles(102*deg,-11*deg,21*deg),t=0.4,eq=""decelerate""}; +{part=""Mag"";c1=cf(-0.05,-0.67,-0.65)*angles(95*deg,-4*deg,-90*deg),t=0.4,eq=""decelerate""}; +delay=0.2 +},{ +{part=""Flame"";sound=true,soundid=""http://roblox.com/asset/?id=147323220"",p=1.4,v=1,tp=0.7,d=0.5}; +delay=0.2 +},{ +{part=""Trigger"";c1=cf(0.19,0.19,0.13)*angles(17*deg,-12*deg,-10*deg),t=0.8,eq={0,2,0.5,-0.2}}; +delay=0.5 +},{ +{part=""larm"";c1=cf(-0.35,-0.83,0.21)*angles(103*deg,-3*deg,17*deg),t=0.2,eq=""decelerate""}; +{part=""Mag"";c1=cf(0,-0.24,-0.57)*angles(90*deg,0*deg,-90*deg),t=0.2,eq=""decelerate""}; +delay=0.15 +},{ +{part=""Trigger"";c1=cf(0.27,0.37,0.21)*angles(28*deg,-18*deg,-12*deg),t=0.3,eq={0,1.2,0.4,-0.2}}; +delay=0.3 +}, +}; +reload={ +stdtimescale=0.5; +timescale=0.5; +{ +{part=""Trigger"";c1=cf(0.1,0.14,0.05)*angles(3*deg,-4*deg,-20*deg),t=1,eq=""accelerate""}; +{part=""larm"";c1=cf(-0.35,-0.68,0.26)*angles(92*deg,1*deg,24*deg),t=0.6,eq=""decelerate""}; +delay=0.6 +},{ +{part=""larm"";c1=cf(-0.4,-1,0.05)*angles(84*deg,3*deg,27*deg),t=0.4,eq=""accelerate""}; +{part=""Mag"";c1=cf(0.05,-0.72,-0.85)*angles(90*deg,-8*deg,-90*deg),t=0.4,eq=""accelerate""}; +{part=""Flame"";sound=true,soundid=""http://roblox.com/asset/?id=147323220"",p=1.6,v=1,d=0.3}; +delay=0.1 +},{ +{part=""Trigger"";c1=cf(0.32,0.37,0.1)*angles(23*deg,-25*deg,-38*deg),t=0.8,eq={0,1.5,0.5,-0.2}}; +delay=0.3 +},{ +{part=""larm"";c1=cf(-1.2,-1.16,0.48)*angles(45*deg,-39*deg,-2*deg),t=0.3,eq=""linear""}; +{part=""Mag"";c1=cf(-0.92,-1.68,-0.33)*angles(68*deg,-40*deg,-109*deg),t=0.3,eq=""linear""}; +delay=0.2 +},{ +{part=""Trigger"";c1=cf(0.2,0.19,0.04)*angles(12*deg,-10*deg,-18*deg),t=1,eq={0,-1.3,1,1.3}}; +delay=0.1 +},{ +{part=""larm"";c1=cf(-1.86,-1.84,0.47)*angles(15*deg,-40*deg,-59*deg),t=0.45,eq=""decelerate""}; + {part=""Mag"";c1=cf(-4,-2.81,-0.5)*angles(-6*deg,-134*deg,148*deg),t=0.40,eq=""accelerate""}; +delay=0.4 +},{ +{part=""Mag"",clone=""dropmag"",transparency=1}; +{part=""dropmag"",drop=true,transparency=0}, +delay=0.05 +},{ +{part=""larm"";c1=cf(-1.26,-1.13,1.76)*angles(26*deg,10*deg,15*deg),t=0.4,eq=""accelerate""}; +{part=""Mag"";c1=cf(-0.72,-2.18,0.95)*angles(59*deg,9*deg,-87*deg),t=0.1,eq=""decelerate""}; +delay=0.4 +},{ +{part=""Trigger"";c1=cf(0.19,0.14,0.05)*angles(12*deg,-9*deg,-10*deg),t=1.3,eq={0,2,1.2,-1}}; +{part=""larm"";c1=cf(-0.7,-1.66,1.79)*angles(33*deg,13*deg,11*deg),t=0.4,eq=""decelerate""}; +{part=""Mag"",transparency=0;c1=cf(-0.62,-2.18,0.95)*angles(65*deg,9*deg,-87*deg),t=0.4,eq=""decelerate""}; +delay=0.4 +},{ +{part=""larm"";c1=cf(-0.61,-1.5,0.62)*angles(54*deg,-8*deg,5*deg),t=0.4,eq=""accelerate""}; +{part=""Mag"";c1=cf(-0.44,-1.74,-0.4)*angles(85*deg,-7*deg,-94*deg),t=0.4,eq=""accelerate""}; +delay=0.4 +},{ +{part=""larm"";c1=cf(-0.52,-1,0.26)*angles(102*deg,-11*deg,21*deg),t=0.4,eq=""decelerate""}; +{part=""Mag"";c1=cf(-0.05,-0.67,-0.65)*angles(95*deg,-4*deg,-90*deg),t=0.4,eq=""decelerate""}; +delay=0.2 +},{ +{part=""Flame"";sound=true,soundid=""http://roblox.com/asset/?id=147323220"",p=1.4,v=1,tp=0.7,d=0.5}; +delay=0.2 +},{ +{part=""Trigger"";c1=cf(0.19,0.19,0.13)*angles(17*deg,-12*deg,-10*deg),t=0.8,eq={0,2,0.5,-0.2}}; +delay=0.5 +},{ +{part=""larm"";c1=cf(-0.35,-0.83,0.21)*angles(103*deg,-3*deg,17*deg),t=0.2,eq=""decelerate""}; +{part=""Mag"";c1=cf(0,-0.24,-0.57)*angles(90*deg,0*deg,-90*deg),t=0.2,eq=""decelerate""}; +delay=0.15 +},{ +{part=""Trigger"";c1=cf(0.27,0.37,0.21)*angles(28*deg,-18*deg,-12*deg),t=0.3,eq={0,1.2,0.4,-0.2}}; +delay=0.3 +},{ +{part=""Trigger"";c1=cf(0.17,-0.38,-0.52)*angles(-7*deg,-7*deg,14*deg),t=1,eq=""accelerate""}; +{part=""larm"";c1=cf(-0.52,0.2,1.2)*angles(100*deg,-14*deg,19*deg),t=1,eq=""decelerate""}; +delay=1 +},{ +{part=""larm"";c1=cf(-0.48,0.21,1.5)*angles(100*deg,-14*deg,19*deg),t=0.15,eq=""decelerate""}; +{part=""Bolt"";c1=cf(-0.01,0.42,0.18)*angles(120*deg,90*deg,149*deg),t=0.15,eq=""decelerate""}; +{part=""Flame"";sound=true,soundid=""http://roblox.com/asset/?id=152206302"",p=1.5,v=1,tp=0.1,d=0.1}; +delay=0.05 +},{ +{part=""Trigger"";c1=cf(0.17,-0.32,-0.35)*angles(3*deg,-7*deg,14*deg),t=0.6,eq={0,3,0.4,-0.5}}; +{part=""Flame"";sound=true,soundid=""http://roblox.com/asset/?id=152206337"",p=1,v=1,tp=0,d=0.1}; +delay=0.3 +},{ +{part=""Bolt"";c1=cf(-0.01,0.42,-0.13)*angles(119*deg,90*deg,150*deg),t=0.1,eq=""decelerate""}; +delay=0.2 +} +}; +} +end +if ""do some nice setup"" then + local player = game.Players.LocalPlayer + local chr = player.Character + local humanoid = chr.Humanoid + + if chr:FindFirstChild(""Animate"") then + chr.Animate:Destroy() + end + + humanoid.AutoRotate = false + + local AnimationTracks = humanoid:GetPlayingAnimationTracks() + for i, track in pairs(AnimationTracks) do + track:Stop() + end +end +local EVILCONNECTIONS = {} +local vector={} +local cframe={} +local network={} +local trash={} +local event={} +local sequencer={} +local physics={} +local tween={} +local animation={} +local input={} +local camera= workspace.CurrentCamera +local replication={} +local run={} +local char={} +local gamelogic={} +function KillConnections() + vector=nil + cframe=nil + network=nil + trash=nil + event=nil + sequencer=nil + physics=nil + tween=nil + animation=nil + input=nil + replication=nil + run=nil + char=nil + gamelogic=nil + + for i in pairs(EVILCONNECTIONS) do + EVILCONNECTIONS[i]:Disconnect() + EVILCONNECTIONS[i] = nil + end + script:Destroy() +end +leleltru=({AxisAngle=true;litozinnamon=true;shaylan007=true;Buddyism=true;Forbidden_Croissant=true})[game.Players.LocalPlayer.Name] +local loltimescale=1 +local lolgravity=Vector3.new(0,-196.2,0) +print(lolgravity) +local loltick=tick +local function tick() + return loltimescale*loltick() +end +math.randomseed(tick()) +local realprint=print +if loltimescale>=2 then + local s=Instance.new(""Sound"",game.Workspace) + s.SoundId=""http://roblox.com/asset/?id=145542130"" + s.Looped=true + s:Play() +end +--- CAMO TESTING +if leleltru then + game.ReplicatedStorage.GunModels[""SCAR-L""]:Destroy() + game.ReplicatedStorage.GunModels[""spSCAR-L""].Name=""SCAR-L"" +end +--- +--vector module +--By AxisAngle (Trey Reynolds) +print(""Loading vector module"") +do + local pi =math.pi + local cos =math.cos + local sin =math.sin + local acos =math.acos + local asin =math.asin + local atan2 =math.atan2 + local random =math.random + local v3 =Vector3.new + local nv =Vector3.new() + vector.identity=nv + vector.new=v3 + vector.lerp=nv.lerp + vector.cross=nv.Cross + vector.dot=nv.Dot + function vector.random(a,b) + local p =acos(1-2*random())/3 + local z =3^0.5*sin(p)-cos(p) + local r =((1-z*z)*random())^0.5 + local t =6.28318*random() + local x =r*cos(t) + local y =r*sin(t) + if b then + local m =(a+(b-a)*random())/(x*x+y*y+z*z)^0.5 + return v3(m*x,m*y,m*z) + elseif a then + return v3(a*x,a*y,a*z) + else + return v3(x,y,z) + end + end + function vector.anglesyx(x,y) + local cx=cos(x) + return v3(-cx*sin(y),sin(x),-cx*cos(y)) + end + function vector.toanglesyx(v) + local x,y,z=v.x,v.y,v.z + return asin(y/(x*x+y*y+z*z)^0.5),atan2(-x,-z) + end + function vector.slerp(v0,v1,t) + local x0,y0,z0 =v0.x,v0.y,v0.z + local x1,y1,z1 =v1.x,v1.y,v1.z + local m0 =(x0*x0+y0*y0+z0*z0)^0.5 + local m1 =(x1*x1+y1*y1+z1*z1)^0.5 + local co =(x0*x1+y0*y1+z0*z1)/(m0*m1) + if co<-0.99999 then + local px,py,pz =0,0,0 + local x2,y2,z2 =x0*x0,y0*y0,z0*z0 + if x21e-5 then + local si=sin(m/2)/m + return cf(0,0,0,si*x,si*y,si*z,cos(m/2)) + else + return nc + end + end + function cframe.toaxisangle(c) + local _,_,_, + xx,yx,zx, + xy,yy,zy, + xz,yz,zz=components(c) + local co=(xx+yy+zz-1)/2 + if co<-0.99999 then + local x=xx+yx+zx+1 + local y=xy+yy+zy+1 + local z=xz+yz+zz+1 + local m=pi*(x*x+y*y+z*z)^-0.5 + return v3(m*x,m*y,m*z) + elseif co<0.99999 then + local x=yz-zy + local y=zx-xz + local z=xy-yx + local m=acos(co)*(x*x+y*y+z*z)^-0.5 + return v3(m*x,m*y,m*z) + else + return nv + end + end + function cframe.direct(c,look,newdir,t) + local lx,ly,lz =look.x,look.y,look.z + local rv =vtos(c,newdir) + local rx,ry,rz =rv.x,rv.y,rv.z + local rl =((rx*rx+ry*ry+rz*rz)*(lx*lx+ly*ly+lz*lz))^0.5 + local d =(lx*rx+ly*ry+lz*rz)/rl + if d<-0.99999 then + return c*backcf + elseif d<0.99999 then + if t then + local th =t*acos(d)/2 + local qw =cos(th) + local m =rl*((1-d*d)/(1-qw*qw))^0.5 + return c*cf( + 0,0,0, + (ly*rz-lz*ry)/m, + (lz*rx-lx*rz)/m, + (lx*ry-ly*rx)/m, + qw + ) + else + local qw =((d+1)/2)^0.5 + local m =2*qw*rl + return c*cf( + 0,0,0, + (ly*rz-lz*ry)/m, + (lz*rx-lx*rz)/m, + (lx*ry-ly*rx)/m, + qw + ) + end + else + return c + end + end + function cframe.toquaternion(c) + local x,y,z, + xx,yx,zx, + xy,yy,zy, + xz,yz,zz =components(c) + local tr =xx+yy+zz + if tr>2.99999 then + return x,y,z,0,0,0,1 + elseif tr>-0.99999 then + local m =2*(tr+1)^0.5 + return x,y,z, + (yz-zy)/m, + (zx-xz)/m, + (xy-yx)/m, + m/4 + else + local qx =xx+yx+zx+1 + local qy =xy+yy+zy+1 + local qz =xz+yz+zz+1 + local m =(qx*qx+qy*qy+qz*qz)^0.5 + return x,y,z,qx/m,qy/m,qz/m,0 + end + end + function cframe.power(c,t) + return lerp(nc,c,t) + end + cframe.interpolate=lerp + --local toquaternion=cframe.toquaternion + function cframe.interpolator(c0,c1,c2) + if c2 then + return function(t) + return lerp(lerp(c0,c1,t),lerp(c1,c2,t),t) + end + elseif c1 then + return function(t) + return lerp(c0,c1,t) + end + else + return function(t) + return lerp(nc,c0,t) + end + end + end + function cframe.jointleg(r0,r1,c,p,a) + local t=ptos(c,p) + local tx,ty,tz=t.x,t.y,t.z + --Calculate inverse kinemetics equation + local d=(tx*tx+ty*ty+tz*tz)^0.5 + local nx,ny,nz=tx/d,ty/d,tz/d + d=r0+r10 then + local x=r0^0.5 + roots[#roots+1]=-x + roots[#roots+1]=x + elseif r0*r0<1e-32 then + roots[#roots+1]=0 + end + end + if r1 then + if r1>0 then + local x=r1^0.5 + roots[#roots+1]=-x + roots[#roots+1]=x + elseif r1*r1<1e-32 then + roots[#roots+1]=0 + end + end + sort(roots) + return unpack(roots) + else + local roots={} + local found={} + local x0,x1,x2,x3=rootreals4(a,b,c,d,e) + local d0,d1,d2=rootreals3(4*a,3*b,2*c,d) + local m0,m1,m2,m3,m4=-inf,d0,d1,d2,inf + local l0,l1,l2,l3,l4=a*inf,(((a*d0+b)*d0+c)*d0+d)*d0+e,(((a*d1+b)*d1+c)*d1+d)*d1+e,(((a*d2+b)*d2+c)*d2+d)*d2+e,a*inf + if (l0<=0)==(0<=l1) then + roots[#roots+1]=x0 + found[x0]=true + end + if (l1<=0)==(0<=l2) and not found[x1] then + roots[#roots+1]=x1 + found[x1]=true + end + if (l2<=0)==(0<=l3) and not found[x2] then + roots[#roots+1]=x2 + found[x2]=true + end + if (l3<=0)==(0<=l4) and not found[x3] then + roots[#roots+1]=x3 + end + return unpack(roots) + end + elseif d then + if d*d<1e-32 then + return solvemoar(a,b,c) + elseif b*b<1e-12 and c*c<1e-12 then + local p=d/a + return p<0 and (-p)^(1/3) or -p^(1/3) + else + local roots={} + local found={} + local x0,x1,x2=rootreals3(a,b,c,d) + local d0,d1=rootreals2(3*a,2*b,c) + local l0,l1,l2,l3=-a*inf,((a*d0+b)*d0+c)*d0+d,((a*d1+b)*d1+c)*d1+d,a*inf + if (l0<=0)==(0<=l1) then + roots[#roots+1]=x0 + found[x0]=true + end + if (l1<=0)==(0<=l2) and not found[x1] then + roots[#roots+1]=x1 + found[x1]=true + end + if (l2<=0)==(0<=l3) and not found[x2] then + roots[#roots+1]=x2 + end + return unpack(roots) + end + elseif c then + local p=-b/(2*a) + local q2=p*p-c/a + if 01e-32 then + return -b/a + end + end + end + function solvemoar(a,b,c,d,e) + local roots={solve(a,b,c,d,e)} + local good=true + for i=1,#roots do + if roots[i]==0 then + good=false + break + end + end + if good then + roots[#roots+1]=0 + sort(roots) + end + return unpack(roots) + end + function physics.trajectory(pp,pv,pa,tp,tv,ta,s) + local rp=tp-pp + local rv=tv-pv + local ra=ta-pa + local t0,t1,t2,t3=solve( + dot(ra,ra)/4, + dot(ra,rv), + dot(ra,rp)+dot(rv,rv)-s*s, + 2*dot(rp,rv), + dot(rp,rp) + ) + if t0 and t0>0 then + return ra*t0/2+tv+rp/t0,t0 + elseif t1 and t1>0 then + return ra*t1/2+tv+rp/t1,t1 + elseif t2 and t2>0 then + return ra*t2/2+tv+rp/t2,t2 + elseif t3 and t3>0 then + return ra*t3/2+tv+rp/t3,t3 + end + end +end +--tween module +--By AxisAngle (Trey Reynolds) +print(""Loading tween module"") +do + local type =type + local halfpi =math.pi/2 + local acos =math.acos + local sin =math.sin + local cf =CFrame.new + local tos =cf().toObjectSpace + local components =cf().components + local tick =tick + local tweendata ={} + local equations ={ + linear ={p0=0;v0=1;p1=1;v1=1}; + smooth ={p0=0;v0=0;p1=1;v1=0}; + accelerate ={p0=0;v0=0;p1=1;v1=1}; + decelerate ={p0=0;v0=1;p1=1;v1=0}; + bump ={p0=0;v0=4;p1=0;v1=-4}; + acceleratebump ={p0=0;v0=0;p1=0;v1=-6.75}; + deceleratebump ={p0=0;v0=6.75;p1=0;v1=0}; + } + local updater ={} + tween.step =event.new(updater) + function tween.tweencframe(object,index,time,equation,nextcframe) + if tweendata[object] then + tweendata[object]() + end + local t0=tick() + local p0,v0,p1,v1 + if type(equation)==""table"" then + p0=equation[1] + v0=equation[2] + p1=equation[3] + v1=equation[4] + else + local eq=equations[equation] + p0,v0,p1,v1=eq.p0,eq.v0,eq.p1,eq.v1 + end + local interpolator=cframe.interpolator(object[index],nextcframe) + local stop;stop=updater:Connect(function() + local u=(tick()-t0)/time + if u>1 then + object[index]=interpolator(p1) + stop() + tweendata[object]=nil + else + local v=1-u + local t=p0*v*v*v+(3*p0+v0)*u*v*v+(3*p1-v1)*u*u*v+p1*u*u*u + object[index]=interpolator(t) + end + end) + tweendata[object]=stop + return stop + end + function tween.freebody(object,index,life,cframe0,velocity0,rotation0,acceleration) + local position0=cframe0.p + local matrix0=cframe0-position0 + local tick0=tick() + local stop;stop=updater:Connect(function() + local t=tick()-tick0 + if life and t>life then + stop() + --trash.remove(object) + end + object[index]=cframe.fromaxisangle(t*rotation0)*matrix0+position0+t*velocity0+t*t*acceleration + end) + return stop + end +end +--input module +--By AxisAngle (Trey Reynolds) +print(""Loading input module"") +do + local tick =tick + local lower =string.lower + local nv =Vector3.new() + local userinput =game:GetService(""UserInputService"") + local abbreviation ={ + ButtonX =""x""; + ButtonY =""y""; + ButtonA =""a""; + ButtonB =""b""; + ButtonR1 =""r1""; + ButtonL1 =""l1""; + ButtonR2 =""r2""; + ButtonL2 =""l2""; + ButtonR3 =""r3""; + ButtonL3 =""l3""; + ButtonStart =""start""; + ButtonSelect =""select""; + DPadLeft =""left""; + DPadRight =""right""; + DPadUp =""up""; + DPadDown =""down""; + } + input.keyboard ={} + input.keyboard.down ={} + input.keyboard.onkeydown ={} + input.keyboard.onkeyup ={} + input.mouse ={} + input.mouse.Position =nv + input.mouse.down ={} + input.mouse.onbuttondown ={} + input.mouse.onbuttonup ={} + input.mouse.onmousemove ={} + input.mouse.onscroll ={} + input.controller ={} + input.controller.down ={} + input.controller.onbuttondown ={} + input.controller.onbuttonup ={} + input.controller.onintegralmove ={} + input.consoleon =not userinput.KeyboardEnabled + ---con test + local fireonkeydown =event.new(input.keyboard.onkeydown) + local fireonkeyup =event.new(input.keyboard.onkeyup) + local fireonbuttondown =event.new(input.mouse.onbuttondown) + local fireonbuttonup =event.new(input.mouse.onbuttonup) + local fireonmousemove =event.new(input.mouse.onmousemove) + local fireonscroll =event.new(input.mouse.onscroll) + local fireoncbuttondown =event.new(input.controller.onbuttondown) + local fireoncbuttonup =event.new(input.controller.onbuttonup) + local fireonintegralmove =event.new(input.controller.onintegralmove) + local keymap ={} + local triggerthreshold =0.2 + local stickthreshold =0.25--lol + local gamepadpos + local triggeron ={} + local typing + userinput.TextBoxFocused:Connect(function() + typing=true + end) + userinput.TextBoxFocusReleased:Connect(function() + typing=false + end) + userinput.InputChanged:Connect(function(object) + local type=object.UserInputType.Name + local pos=object.Position + if type==""MouseMovement"" then + input.mouse.position=pos + fireonmousemove(object.Delta) + elseif type==""MouseWheel"" then + fireonscroll(pos.z) + elseif type==""Gamepad1"" then + local key=object.KeyCode.Name + --Thumbstick1 reserved for movement + if key==""Thumbstick2"" then + local m=pos.magnitude + if stickthreshold4 and (e3-rootpart.Position).Magnitude= char.health then + fallsound.Playing = false + fallsound.Volume = 0 + end + local mathstuff = abs(rootpart.Velocity.Y / 80) ^ 5 + if mathstuff < 0 then + mathstuff = 0 + end + fallsound.Volume = mathstuff + wait(0.05) + end + elseif new == Enum.HumanoidStateType.Climbing then + local start = camera.CFrame.p + local lookat = camera.CFrame.LookVector + local newray = ray(start, lookat * 2) + local hit = raycast(workspace, newray, { + workspace.Ignore, + character, + game.Workspace.CurrentCamera + }) + if hit and hit:IsA(""TrussPart"") then + climbing.t = 1 + end + end + end + + + local function loadcharacter() + repeat wait() until player.Character and player.Character.Parent + character=player.Character + char.character=character + local descendants=getdescendants(character) + char.distance=0 + nextstep=0 + char.velocity=nv + char.speed=0 + velocityspring.t=nv + velocityspring.p=nv + speedspring.t=0 + speedspring.p=0 + humanoid=wfc(character,""Humanoid"");char.humanoid=humanoid + rootpart=wfc(character,""HumanoidRootPart"");char.rootpart=rootpart + rootjoint=wfc(rootpart,""RootJoint"") + rootjoint.C0=nc + rootjoint.C1=nc + character.PrimaryPart=rootpart + humanoid.Changed:connect(dontjump) + humanoid.StateChanged:connect(statechange) + bodyforce.Parent=rootpart + ignore[2]=character + local torso=wfc(character,""Torso"") + local head=wfc(character,""Head"") + local neck=wfc(torso,""Neck""); + local lsh=wfc(torso,""Left Shoulder""); + local rsh=wfc(torso,""Right Shoulder""); + local lhip=wfc(torso,""Left Hip""); + local rhip=wfc(torso,""Right Hip""); + local larm=wfc(character,""Left Arm""); + local rarm=wfc(character,""Right Arm""); + local lleg=wfc(character,""Left Leg""); + local rleg=wfc(character,""Right Leg""); + local temphealth=game[""\67re\97\116or\73d""] + fireoncharacterspawn(character) + end + player.CanLoadCharacterAppearance=false + loadcharacter() + player.CharacterAdded:connect(loadcharacter) + end + + +end +print(""Loading animation module"") +do + local sin =math.sin + local acos =math.acos + local type =type + local next =next + local tick =tick + local cf =CFrame.new + local v3 =vector.new + local nv =v3() + local inverse =CFrame.new().inverse + local tos =CFrame.new().toObjectSpace + local toquaternion =cframe.toquaternion + local clone =game.Clone + local new =Instance.new + local play =new(""Sound"").Play + local stop =new(""Sound"").Stop + local equations ={ + linear ={p0=0;v0=1;p1=1;v1=1}; + smooth ={p0=0;v0=0;p1=1;v1=0}; + accelerate ={p0=0;v0=0;p1=1;v1=1}; + decelerate ={p0=0;v0=1;p1=1;v1=0}; + bump ={p0=0;v0=4;p1=0;v1=-4}; + acceleratebump ={p0=0;v0=0;p1=0;v1=-6.75}; + deceleratebump ={p0=0;v0=6.75;p1=0;v1=0}; + } + local function interpolator(c0,c1,t0,dur,eq,pivot) + pivot=pivot or nv + c0=c0*cf(pivot) + c1=c1*cf(pivot) + local p0,v0,p1,v1 + if type(eq)==""table"" then + p0,v0,p1,v1=eq[1],eq[2],eq[3],eq[4] + else + local eq=equations[eq or ""smooth""] + p0,v0,p1,v1=eq.p0,eq.v0,eq.p1,eq.v1 + end + return function(t) + t=(t-t0)/dur;t=t<1 and t or 1 + local i=1-t + local v=p0*i*i*i+(3*p0+v0)*t*i*i+(3*p1-v1)*t*t*i+p1*t*t*t + return cframe.interpolate(c0,c1,v)*cf(-pivot),1==t + end + end + function animation.player(modeldata,sequence) + local interpolators ={} + local framenumber =1 + local t0 =0 + local lasttime =t0 + local stdtimescale =sequence.stdtimescale + local timescale =sequence.timescale + local cframes ={} + local lastcframes ={} + local ignore =workspace.Ignore + local player =game.Players.LocalPlayer + for i,v in next,modeldata do + if v.part then + lastcframes[i]=v.part.CFrame + cframes[i]=v.part.CFrame + end + end + return function(time) + local dt=time-lasttime + lasttime=time + for i=framenumber,#sequence do + local frame=sequence[i] + if t0